Skip to main content
Glama

x402-relationships-api

Related websites for a domain. Deducts prepaid credits from a reusable key.

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": {
      "lookup": "<lookup>",
      "creditKey": "<creditKey>"
    },
    "name": "x402-relationships-api"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookupYes
creditKeyYesReusable prepaid key returned by x402-credit-purchase

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond readOnlyHint=false and destructiveHint=false, it discloses the concrete billing side effect: prepaid credits are deducted from a reusable key. It does not state the deduction amount, whether failed lookups consume credits, or insufficient-credit behavior, but the disclosed side effect is meaningful and consistent with the annotations.

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

Conciseness5/5

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

Two very short sentences front-load the result and then the billing side effect, with no filler. The telegraphic style costs some precision but is appropriately sized for a two-parameter tool.

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 a simple two-parameter lookup, the purpose and credit-consumption warning cover the essentials needed to avoid an unintended credit-consuming call. Without an output schema, however, the absence of result-shape detail, lookup formatting, cost or failure behavior, and sibling-selection guidance leaves noticeable gaps.

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?

With 50% schema coverage, the description usefully implies that the otherwise undocumented lookup string should be a domain. Its reusable prepaid-key wording largely duplicates creditKey's schema description, and it gives no domain syntax or normalization guidance.

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 identifies the resource and result—related websites for a domain—and the prepaid-key wording hints at the x402 variant. It lacks an explicit retrieval verb and does not directly distinguish itself from relationships-api, so it is clear rather than fully discriminating.

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 implies use for domain relationship lookups paid for with a reusable prepaid key, but never states when to select it or what prerequisite flow to follow. There is no when-not guidance or comparison with relationships-api; the key's origin is supplied only by the schema.

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.