Skip to main content
Glama

What has been verified

check_grade
Read-only

Return what has been verified about an x402 endpoint or its url: whether it answers, what it charges, and whether that price has moved. Answers unrated rather than guessing when the evidence is thin. Works for endpoints Teppi does not operate, and a url never seen is put in line for a free handshake, so ask again in an hour.

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": {
      "id_or_url": "<id_or_url>"
    },
    "name": "check_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNo
pay_toNothe payTo from the 402, to learn what the record knows about who gets paid; a urn is read as none
id_or_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / pay_to / description
      Previous value: -"the payTo address from the 402, to learn what the record knows about who gets paid"New value: +"the payTo from the 402, to learn what the record knows about who gets paid; a urn is read as none"
    • changedInput schema / properties / pay_to / pattern
      Previous value: -"^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$"New value: +"^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$|^urn:x402:[A-Za-z0-9:._-]{1,100}$"
  2. Changed1 schema field changed
    • addedInput schema / properties / pay_to
      Added value: +{
      +  "description": "the payTo address from the 402, to learn what the record knows about who gets paid",
      +  "pattern": "^0x[0-9a-fA-F]{40}$|^[1-9A-HJ-NP-Za-km-z]{32,44}$",
      +  "type": "string"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / method
      Added value: +{
      +  "enum": [
      +    "GET",
      +    "POST"
      +  ],
      +  "type": "string"
      +}
  4. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds genuinely new behavior: it returns 'unrated' rather than guessing when evidence is thin, and a previously unseen url is queued for a free handshake with a one-hour recheck expectation. That eventual-consistency detail is exactly the kind of context an agent cannot get from annotations or schema.

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?

Two tight sentences, front-loaded with the returned facts, then the edge-case behavior, then the retry rule. No filler, though the third clause ('so ask again in an hour') is packed into the same sentence and slightly buries the retry instruction.

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

Completeness3/5

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

With no output schema, the description does well to summarize return content (answers?, price, price movement, or 'unrated'). But for a 3-parameter tool with 33% schema coverage it leaves 'method' entirely unexplained and gives no hint about how id vs url inputs are interpreted differently.

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

Parameters2/5

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

Schema coverage is only 33% — only pay_to carries a schema description — and the description never explains the 'method' parameter at all, nor clarifies what distinguishes an id from a url in id_or_url beyond restating 'an x402 endpoint or its url'. With low coverage, the description needed to compensate and does not.

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 uses a concrete verb ('Return what has been verified') tied to a specific resource (an x402 endpoint or its url) and enumerates the three facts returned: reachability, price, and price movement. It does not name a sibling to differentiate against, but the scope is narrow enough ('what has been verified') that it is distinguishable from generic capability or exposure lookups.

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

Usage Guidelines3/5

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

It sets scope ('Works for endpoints Teppi does not operate') and gives retry guidance for unseen urls ('ask again in an hour'), which implies when the tool is useful. However, it never states when not to use it or names an alternative among check_exposure, get_capability, plan_route, or search_capabilities, so the routing decision is left to inference.

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