Skip to main content
Glama

x402 agent toolkit: service finder, payment safety, Solana & web tools

HTTP Link header parser

http_link_parse
Read-onlyIdempotent

Parse an RFC 8288 Link response header into structured links with rel/type/title, plus byRel map and next/prev/first/last shortcuts for pagination. Free: 10 calls/day; then $0.001/call via x402 (MCP params._meta["x402/payment"] or HTTP) or X-API-Key credits. [served by tools.moneytools.dev]

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": {
      "header": "<header>"
    },
    "name": "http_link_parse"
  }
}

Input Schema

NameRequiredDescriptionDefault
headerYesLink header value

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds real context beyond that: the exact output shape (byRel map plus pagination shortcuts) and the pricing/auth model (10 free calls/day, then x402 payment via _meta or HTTP, or X-API-Key credits), which matters for an agent deciding to call a paid tool.

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 first sentence is dense and front-loaded with the capability and output shape. The second sentence mixes genuinely useful pricing/auth info with a server attribution tag, which is mild clutter but short.

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 an output schema, full parameter coverage, and complete annotations, the description needs only to state purpose and any non-structural constraints; it does both, including the payment model. Slightly short of 5 because it never clarifies how malformed or multi-value headers are handled.

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?

There is a single required parameter with 100% schema coverage plus a concrete example, so the schema carries the load. The description only restates that the input is an RFC 8288 Link header value, adding no syntax or format detail beyond the schema.

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?

States a specific verb (Parse) and resource (RFC 8288 Link response header) and enumerates the produced structure (rel/type/title, byRel map, next/prev/first/last shortcuts). The RFC reference and header-name specificity distinguish it from generic siblings like url_parse_clean or http_inspect without needing their schemas.

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?

Usage is implied by the pagination shortcut mention (use this to extract paging links), but there is no explicit when-to-use/when-not guidance and no named alternative for related parsing tasks. An agent must infer the context from the tool name and description alone.

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