Skip to main content
Glama

Universal Data — x402 + MPP Payment Setup

api_policy_extract

Read-onlyIdempotent

Extract published policy passages with source. One call costs 0.01 USDC on Base x402; customer-owned provider credentials use X-Provider-Key header where needed.

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": "api_policy_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the safety profile is covered. The description adds genuinely non-inferable operational facts: a fixed 0.01 USDC charge on Base via x402 and the X-Provider-Key header for customer-owned credentials. It does not say what happens on payment failure or rate limits, which keeps it below a 5.

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 with the functional purpose front-loaded and the billing/auth caveat second. Nothing is redundant, though the second sentence compresses three distinct facts (price, chain, payment protocol) into one dense clause.

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?

For an open-world single-parameter tool with no output schema, the description covers cost and authentication but omits return shape beyond 'with source', expected input format for url, and error behavior. Annotations carry the safety story, so the remaining gap is moderate rather than severe.

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 description coverage is 0% and the single required parameter is bare 'url' with no type-level explanation. The description never mentions the parameter at all, so the agent must guess whether it is a document URL, a site root, or a policy listing endpoint — a real ambiguity for an extraction tool.

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

Purpose3/5

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

The verb+resource pair ('extract published policy passages') is concrete enough to act on, and 'with source' signals citation behavior. However, it never says what the extraction runs against (a URL) nor distinguishes itself from near-neighbors like api_extract, api_pdf_extract, or api_source_verify, leaving the agent to infer the boundary.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives. The only contextual framing is commercial (cost and credential header), which tells the agent how it will be billed, not when this tool is the right choice over the many other extract/search siblings.

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