Skip to main content
Glama

agentkit__payheader

Deterministic mid-task tools for AI agents: page to markdown, page brief, repair JSON, redact secrets, encode/hash, unit and timezone maths, business-day deadlines, cron scheduling and business-hours SLA maths, x402 seller monitoring, extract, validate. No LLM. Price: $0.01 per call in USDC on Base (eip155:8453), paid with x402 in params._meta["x402/payment"]. HTTP: POST https://api.firstmention.uk/s/agentkit/payheader

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": {
      "tool": "<tool>"
    },
    "name": "agentkit__payheader"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsNoArguments for the tool.
toolYesTool name, e.g. convert, datetime, extract, validate, repair, redact, deadlines.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose genuinely useful traits: deterministic output, no LLM involvement, a $0.01 USDC-on-Base charge via x402 in params._meta["x402/payment"], and the HTTP endpoint. What it omits is the core behavior — what payheader returns (presumably an x402 payment header or 402 challenge) and whether it mutates or reads anything.

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?

Compact and front-loaded, with pricing and transport info clearly stated at the end. The content is efficient per sentence, but it is spent describing other tools rather than this one, so the density works against comprehension here.

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

Completeness2/5

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

For a dispatcher-style tool with a nested 'args' object and no output schema, an agent needs to know what response to expect and how to structure args for this endpoint. The description supplies payment mechanics but leaves the tool's own contract, return shape, and correct 'tool' value unexplained.

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%, so the schema already documents 'tool' and 'args' and gives example names, making 3 the baseline. The description adds one real detail beyond the schema — the out-of-band params._meta["x402/payment"] field required to pay — but says nothing about the expected shape of 'args' for this specific tool.

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

Purpose2/5

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

The description enumerates the whole agentkit catalogue (page to markdown, JSON repair, redaction, cron scheduling, x402 monitoring) but never states what payheader itself does. Those capabilities belong to sibling tools like agentkit__convert, agentkit__repair, and agentkit__deadlines, so the paragraph actively misattributes their behaviour to this tool rather than distinguishing it.

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 guidance on when to call payheader versus the named siblings, nor on what the required 'tool' argument should be set to for this endpoint. The only actionable context is the payment instruction, which tells an agent how to pay but not why or when to pick this tool.

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