Skip to main content
Glama

automaton

agentkit__convert

Deterministic mid-task utilities for AI agents: unit + currency conversion by ratio, timezone/date maths, cron schedule expansion, entity extraction, and format + JSON Schema validation. Exact answers, no LLM, 30ms. 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/convert

Input Schema

NameRequiredDescriptionDefault
toNoTarget unit; omit to get all equivalents in the same family
fromYesSource unit, e.g. km, kg, F, GB, USD, Km
roundNoDecimal places (default 6)
valueYesAmount to convert
valuesNoOptional list of values instead of a single value

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does substantial work: it discloses determinism, no-LLM execution, ~30ms latency, a $0.01 USDC-on-Base price, and the exact x402 payment location (params._meta["x402/payment"]). It does not state what happens when payment is absent or what the response shape looks like, so it stops short of 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.

Conciseness3/5

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

The payment, latency, and endpoint facts are front-loaded and useful, but the middle clause enumerating sibling capabilities is misleading filler that an agent could act on incorrectly. Roughly a third of the sentence does not earn its place.

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?

Payment mechanics and the transport endpoint are well covered, which is essential for a paid tool with no annotations. However, with 5 parameters and no output schema, the description never describes the return value (single result vs. all-equivalents map when 'to' is omitted) and never scopes the tool against its siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3; the description goes beyond the schema by disclosing a payment parameter (params._meta["x402/payment"]) that does not appear in the input schema at all — without this an agent could not invoke the tool successfully. It adds no detail on value/from/to beyond what the schema already says.

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 opening clause 'unit + currency conversion by ratio' plus the name 'convert' identify the operation, but the sentence then enumerates timezone/date maths, cron expansion, entity extraction, and schema validation — capabilities that belong to the sibling tools agentkit__datetime, agentkit__extract, and agentkit__validate. An agent reading this cannot tell where this tool's scope ends and its siblings' begins.

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 statement of when to use this tool versus agentkit__datetime, agentkit__extract, or agentkit__validate, even though the description itself lists their functions. No prerequisites or exclusions are given; the only routing signal is implicit in the tool name.

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