Skip to main content
Glama

Agent Capability Card

capability_card
Read-onlyIdempotent

Agent Capability Card: a standard machine-readable card (omenz.capability-card.v0) of what any x402 service offers: endpoints, live prices and payment options, input/output examples from its discovery data, latency. Works on a service index or a single endpoint; never pays. By OMENZ. (MCP calls run in AYNE, the free playzone; production: GET https://www.omenz.org/api/tollbooth/v1/capability-card, $0.002 via x402.)

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "capability_card"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesfull https URL to check
methodNoHTTP method of the target endpoint (GET or POST)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / method / description
      Added value: +"HTTP method of the target endpoint (GET or POST)"
    • addedInput schema / properties / url / description
      Added value: +"full https URL to check"
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds genuinely new behavioral context: the card is derived from the service's discovery data, it will not transact, and the production variant is a paid x402 endpoint at $0.002 while these MCP calls run in a free playzone. That cost and data-source disclosure is the kind of thing annotations cannot express.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The card format and contents are front-loaded in a single dense sentence, and the operating constraints follow. Some of the trailing parenthetical is matter-of-fact marketing and endpoint plumbing that could be trimmed, but the cost/playzone note does carry real information, so the bulk of it earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With only two parameters, full schema coverage and no output schema, the definition does the work that matters: it tells the agent what the returned card will contain (endpoints, prices, payment options, examples, latency) so the return shape is anticipated. The remaining gap is the absence of any guidance about large indexes or result-size behavior.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so both url and method are documented in the schema itself, giving a baseline of 3. The description's one contribution is clarifying that the url may point either at a service index or at a single endpoint, which expands what the agent knows the parameter accepts but adds nothing about the method parameter or expected formats.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific artifact (a machine-readable capability card in omenz.capability-card.v0 format) and enumerates its contents: endpoints, live prices and payment options, input/output examples from discovery data, and latency. That is a concrete verb-plus-resource statement an agent can act on. It does not explicitly contrast itself with look-alike siblings such as cost_estimate or agent_ready, which keeps it just short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Works on a service index or a single endpoint; never pays' gives the agent both the accepted input scopes and one hard exclusion (no payment execution). It never names a specific alternative tool or states when to prefer one, so the routing guidance is contextual rather than comparative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources