Skip to main content
Glama

Get checked protocol facts

get_protocol_facts
Read-onlyIdempotent

Return source-cited facts for agent payment protocols: spec URL, HTTP status codes and headers, payment rail, networks, facilitators, client libraries, pay flow, and an example. Every fact carries its source URL and verified_at; null means the cited page does not state it. Omit id and the output is the protocol-facts document whose protocols array has all eleven protocols, unpaged. Pass id and the output is that one protocol object. There is no offset. Parameter id is optional and must be one of l402, bolt12, bip21, nwc, x402, mpp, ap2, acp, ucp, mcp, a2a. The mcp object has release_cadence and next_release_target from SEP-3398. Example: l402. An id outside the enum is rejected as invalid input. An enum id missing from the file returns isError with text No protocol with id . A failed read returns isError whose text is the Error message. Use get_protocol_facts instead of search_sources when you need cited protocol facts rather than papers or docs. Use search_sources instead for those papers and docs. Use get_support_info instead for this site's donation addresses and paid API price. Use get_trust_checklist instead for this site's error codes and rate limits. Free, no auth.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_protocol_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoLowercase protocol id from the enum, e.g. l402. Set it to get one protocol object (smaller response); omit it to get every protocol in a protocols array.

Output Schema

NameRequiredDescriptionDefault
idNo
protocolsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / id / enum
      Previous value: -[
      -  "l402",
      -  "bolt12",
      -  "bip21",
      -  "nwc",
      -  "x402",
      -  "mpp",
      -  "ap2",
      -  "acp",
      -  "ucp",
      -  "mcp"
      -]New value: +[
      +  "l402",
      +  "bolt12",
      +  "bip21",
      +  "nwc",
      +  "x402",
      +  "mpp",
      +  "ap2",
      +  "acp",
      +  "ucp",
      +  "mcp",
      +  "a2a"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / id / enum
      Previous value: -[
      -  "l402",
      -  "bolt12",
      -  "bip21",
      -  "nwc",
      -  "x402",
      -  "mpp",
      -  "ap2",
      -  "acp",
      -  "ucp"
      -]New value: +[
      +  "l402",
      +  "bolt12",
      +  "bip21",
      +  "nwc",
      +  "x402",
      +  "mpp",
      +  "ap2",
      +  "acp",
      +  "ucp",
      +  "mcp"
      +]
  3. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, the description discloses null semantics for unstated facts, that there is no offset and the full document is unpaged, the exact error text for missing ids and failed reads, and that access is free with no auth. This is unusually rich behavioral detail that annotations alone would not convey.

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?

Front-loaded with the payload contents, then parameter behavior, then error cases, then sibling routing — a sensible order. A few sentences restate what a prior clause already implied (e.g. the second search_sources sentence), but there is little true waste for a tool this information-dense.

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

Completeness5/5

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

An output schema exists, so return shape need not be explained, yet the description still covers null handling, error paths, pagination absence, and auth/cost. Nothing an agent needs to invoke this correctly is missing.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is 3; the description adds value by spelling out the omit-vs-pass output difference, the invalid-input rejection behavior, and the missing-id error case. It does repeat the enum verbatim, which the schema already supplies, keeping it from a 5.

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

Purpose5/5

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

The opening sentence states a specific verb and resource ('Return source-cited facts for agent payment protocols') and enumerates the fact fields, so an agent knows exactly what comes back. It is clearly distinct from siblings like search_sources or get_support_info.

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

Usage Guidelines5/5

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

Explicit routing is provided in both directions: use this instead of search_sources for cited protocol facts, use search_sources for papers/docs, get_support_info for donations/pricing, get_trust_checklist for error codes/rate limits. When-not and alternatives are both covered.

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