How to Write an A2A Agent Card for a UK Service Business
What to declare, what to leave out, and when to stop doing it yourself
Quick answer: An Agent Card is a machine-readable description of what your business can do. You publish it on your own domain so another agent can find you, see your skills and know where to send a task. For a UK service business the useful skills are things you will really do, such as a quote, a look at availability, or a booking. A card is not a website, and a card with no endpoint behind it does not do the job.
What the card is for
The A2A specification describes an Agent Card as a self-describing manifest. It carries the agent’s name, what it is for, the interfaces it supports, its capabilities, the kinds of input and output it accepts, and its skills. Another agent reads the card before it sends work, so it can decide whether you are a fit and how to talk to you.
The discovery guidance recommends a well-known URI for a public agent. The standard path is https://{your-domain}/.well-known/agent-card.json, following the well-known URI approach in RFC 8615. A client that already knows your domain fetches that path. The specification’s registration note says the resource at that URI must return an Agent Card. Our own public card is at /.well-known/agent-card.json. The protocol project is developed in the open at github.com/a2aproject/A2A.
A service business, such as a trades firm, a clinic, a salon or a professional practice, is a good fit when customers may ask an assistant to request a quote, check a time or book. A brochure site with nothing to ask for can wait. The wider explanation is what the A2A protocol is.
What to declare, and what to leave out
Version 1.0 of the specification requires these fields on the card:
- name and description. A human-readable name, and a description that helps a person or another agent understand the purpose. Use your trading name and a plain description of the service. Do not stuff the description with towns you do not cover or services you do not sell.
- version. The version of your agent, for example when you change the skills. This is your agent’s version, not a promise about the protocol.
- supportedInterfaces. An ordered list. The first entry is the preferred one. Each interface has a
url, aprotocolBindingand aprotocolVersion. For an HTTP interface in production, the specification says the URL must be an absolute HTTPS URL. The core bindings it names areJSONRPC,GRPCandHTTP+JSON. - capabilities. Whether you support extras such as streaming responses or push notifications. Leave a flag off if you have not built it.
- defaultInputModes and defaultOutputModes. Media types, such as
text/plainorapplication/json. - skills. The things the agent is likely to do well. Each skill needs an
id, aname, adescriptionandtags. Examples, and per-skill input or output modes, are optional. A skill can also name its own security requirements.
Optional fields are worth using when they are true. provider can name the organisation and a URL. documentationUrl can point at a page a person can read. securitySchemes and securityRequirements say how a caller authenticates. signatures are JSON Web Signatures over the card, if you sign it. iconUrl is optional.
Leave out secrets, passwords, internal staff details, unpublished prices, and any skill you will not actually perform. The discovery guidance says that if the card contains sensitive detail, the endpoint that serves the card may itself need authentication. A public card should be safe to fetch without a login. Customer records do not belong in it.
Skill examples as patterns, not as client work
The examples field is a list of prompts or scenarios the skill can handle. Write them as patterns a stranger could say. They are not testimonials and they are not jobs you have done for a named customer. Three patterns cover most UK service businesses:
- Request a quote. Description: take a short description of the job and return a next step, such as a question or a time for a person to reply. Example prompts: “Can I get a quote for servicing the boiler?” “What do you need from me to price a small repair?”
- Check availability. Description: look at the diary you have connected and say whether a requested window is free. Example: “Do you have anything on Thursday afternoon?”
- Book an appointment. Description: create a booking only when the rules you set are met, for example a confirmed slot and a contact method. Example: “Book the Thursday 2pm slot and send a confirmation.”
A pattern, not a live client, looks like this. The domain is an example, not a business we have built for:
{
"name": "Example Service Co",
"description": "Takes quote requests and appointment questions for a UK service business.",
"version": "1.0.0",
"supportedInterfaces": [{
"url": "https://example.org/a2a",
"protocolBinding": "JSONRPC",
"protocolVersion": "1.0"
}],
"capabilities": { "streaming": false },
"defaultInputModes": ["text/plain"],
"defaultOutputModes": ["text/plain"],
"skills": [{
"id": "request-quote",
"name": "Request a quote",
"description": "Accepts a short job description and returns the next step for a person to price it.",
"tags": ["quote", "enquiry"],
"examples": ["Can I get a quote for servicing the boiler?"]
}]
}
Match the words to the work. A salon might say “book a cut”. A clinic might say “ask for an appointment” and refuse to take clinical detail in the first message. Do not copy skills from another trade if you cannot fulfil them. Tags are keywords another agent may use to search, so keep them ordinary: quote, availability, booking.
Guardrails: human approval, limits and logs
The card advertises what you are willing to do. The endpoint enforces it. Decide the split before you publish.
- Read versus write. Checking availability can be automatic. Creating a booking, taking a deposit or changing an existing appointment often needs a person, at least at the start. If a skill needs a person, say that in the description so the caller does not expect an instant confirmation.
- Authentication. Use the card’s security schemes for anything that is not a public enquiry. Do not invent a public “cancel anyone’s booking” skill.
- Rate limits and logs. The specification does not set a universal rate limit for you. You choose one, and you keep a log of requests so you can see what was asked and what was answered. A log is also how you spot a skill that is being misused.
- Honesty about progress. Longer tasks can report progress. Do not mark a quote as complete if a person still has to price it.
If agents will also read live tools, such as a diary, that connection is often MCP, not another line on the Agent Card. A2A is the request from one agent to another. MCP is how a model uses a tool. The comparison of the four standards keeps those roles apart. Payments are AP2 and UCP, not a skill you should casually add to a booking card.
How the card sits with llms.txt and a later endpoint
Three files are easy to mix up. robots.txt tells crawlers what they may fetch. llms.txt is a short Markdown summary for AI tools. It is a proposal, not an A2A requirement. agent-card.json is the A2A manifest, and it only earns its place when an endpoint answers. The differences are in llms.txt, agent-card.json and robots.txt explained.
A practical order for a service business is on the UK small-business readiness checklist: one set of facts, plain-text prices, structured data, then a protocol. Write the card when you know the skills. Publish it when the HTTPS endpoint can perform them. Connecting that endpoint to the booking system or enquiry inbox you already use is the implementation, not a second card.
When to stop doing it yourself
You can draft the name, description and skill list in an afternoon. Stop the DIY when you need a secure endpoint, authentication, a connection to a live diary, logs, or a person in the loop for bookings. Those are the parts that fail quietly if the JSON is valid but the business rule is wrong.
Pricing: Custom quote. A2A protocol implementation is scoped after a free call. Heimdell Tech Ai does not publish a fixed price for the card, the endpoint or the booking connection.
Ask about an Agent Card →Sources
Frequently asked questions
Does an Agent Card replace my website?
No. The card tells other agents what your business can do and how to reach an endpoint. People still use your website. The card sits next to the site. It is not a new shopfront and it does not remove the need for clear pages.
Is a card enough on its own?
No. The A2A specification treats the card as a description of an agent that can actually be contacted. A card with no working endpoint, or with skills you cannot perform, will disappoint the agent that calls it. Publish the card when the endpoint behind it can answer.
Where is an Agent Card published?
The standard place is https://your-domain/.well-known/agent-card.json. A client that knows your domain fetches that address. If the card contains sensitive detail, the discovery guidance says the endpoint that serves the card may need authentication.
What does an A2A Agent Card implementation cost?
A custom quote. Heimdell Tech Ai scopes the card, the endpoint and the connection to your booking or enquiry system after a free call. There is no fixed package price.
Registered in England & Wales, company no. 16478408 · ICO ZC079121