Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

companies_uk_company

Fetch a full UK company snapshot by company number. $0.05 per call — USDC on Solana via x402 (over MCP: call without payment to get the PaymentRequired challenge, then retry with the payment at _meta["x402/payment"]). HTTP equivalent: GET https://exchangerebel.com/toll/companies-uk/company/{companyNumber}.

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": {
      "companyNumber": "<companyNumber>"
    },
    "name": "companies_uk_company"
  }
}

Input Schema

NameRequiredDescriptionDefault
companyNumberYes8-character Companies House company number

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?

Goes well past the annotations by disclosing the $0.05 price, the USDC-on-Solana x402 payment mechanism, and the exact retry protocol (call unpaid to receive the PaymentRequired challenge, then retry with _meta["x402/payment"]). That is genuinely actionable behavior an agent cannot infer. It stops short of saying what 'full snapshot' contains or what a rejected/expired payment looks like.

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 tight sentences, front-loaded with the one-line purpose before the payment mechanics. Every clause earns its place because the x402/payment retry procedure is non-obvious and required to invoke the tool successfully.

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?

There is no output schema, so the description is the only place an agent could learn what the 'full snapshot' returns, and it says nothing about the fields, size, or shape of the response. Payment mechanics are covered well; the payload is a gap.

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?

Schema coverage is 100% and the single parameter is documented as an '8-character Companies House company number', so the schema carries the load. The description only restates the identifier and echoes it in the HTTP path template; it adds no format or validation detail beyond the schema.

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?

States a specific verb and resource: 'Fetch a full UK company snapshot by company number'. This cleanly separates it from lookup-style siblings (companies_uk_search) and adjacent enrichment tools (companies_uk_lei, companies_uk_ownership), though it never names those alternatives explicitly.

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?

The identifier type ('by company number') implies when to reach for it, but there is no explicit when-to-use/when-not guidance and no routing against companies_uk_search or companies_uk_ownership, which an agent would plausibly confuse with this.

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