Skip to main content
Glama

Lilambd Data for Agents

units

Unit Converter and Physical Constants. One clean JSON API for apps, games, calculators and AI agents that need correct unit maths. Routes: /search (q, quantity_kind, limit, offset); /{unit}; /convert (value*, from*, to*); /isotopes (element, limit, offset); /constants (q, limit, offset); /constants/{id}; /quantity-kinds. Paid $0.005 USDC per call via x402 (_meta["x402/payment"]); set sample=true for a free 3-row preview.

Input Schema

NameRequiredDescriptionDefault
routeYesOne of: /search, /{unit}, /convert, /isotopes, /constants, /constants/{id}, /quantity-kinds. Replace {placeholders} with a value, e.g. /search or /HND.
paramsNoQuery parameters, e.g. {"q":"tokyo","limit":"50"}
sampleNoFree preview, max 3 rows

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 burden and does well: it discloses the paid model ($0.005 USDC per call via x402), the payment location (_meta["x402/payment"]), and the free 3-row preview flag. It omits response shapes and error behavior, which keeps it 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.

Conciseness4/5

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

Purpose is front-loaded, then the route menu, then the payment/preview note — no filler. The route enumeration is dense and list-like but each entry carries routing value, so it stays efficient.

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?

For a multi-route, route-dispatched API with no output schema and a nested params object, the description covers the routes, their key parameters, cost, and preview mode. It stops short of describing return shapes or error handling, but the essential calling information is present.

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 baseline is 3. The description does add per-route parameter listings (/convert takes value*, from*, to*; /search takes q, quantity_kind, limit, offset), which supplements the free-form 'params' object whose additionalProperties only say string — useful but mostly restating discoverable route docs rather than explaining semantics like format or required-vs-optional beyond asterisks.

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 resource and capability ('Unit Converter and Physical Constants') and distinguishes itself from the sibling API wrappers (airports, colors, exchanges) by naming the domain of 'unit maths'. The enumerated route list makes the tool's scope concrete without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The route list with per-route parameters gives clear guidance on which internal endpoint to select for a given need (search vs convert vs constants vs isotopes). It does not explicitly state when to prefer this tool over a sibling, but the self-evident domain split (units vs airports vs colors) makes that inferable.

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