Skip to main content
Glama

Lilambd Data for Agents

prices

World Prices by Country. What things cost and how fast prices move, by country and by commodity, in one API. Routes: /gaps (limit, offset); /rank (item, by, order, year, continent, limit, offset); /items (q, kind, limit, offset); /compare (countries*, item, from, to); /summary; /countries (q, continent, limit, offset); /us-states (item, year, order, limit, offset); /commodities (kind, q, sort, limit, offset); /items/{item}; /countries/{iso2} (item, freq, from, to); /commodities/{item} (freq, from, to); /countries/{iso2}/profile. Paid $0.005 USDC per call via x402 (_meta["x402/payment"]); set sample=true for a free 3-row preview.

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": {
      "route": "<route>"
    },
    "name": "prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeYesOne of: /gaps, /rank, /items, /compare, /summary, /countries, /us-states, /commodities, /items/{item}, /countries/{iso2}, /commodities/{item}, /countries/{iso2}/profile. 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. Added

TDQS

A3.5/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 behavioral burden and does disclose the critical non-obvious trait: every call costs $0.005 USDC via x402, passed in _meta["x402/payment"], with a free 3-row preview escape hatch. That is exactly the kind of cost/auth context an agent needs before calling. It does not cover rate limits, failure behavior, or pagination semantics beyond the limit/offset param names.

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 purpose is front-loaded in the first sentence, which is good. The remainder is a single semicolon-delimited wall of twelve routes plus payment terms; it is information-dense but unstructured, and an agent must parse it linearly. A route table would serve better.

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 twelve-route API with nested params and no output schema, the description covers inputs and cost but says nothing about return shapes, row limits, or what a successful versus error response looks like. It is adequate to pick a route and pay for it, but not to interpret the result.

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%, but the schema's params object is a free-form string map, so the real semantic content — which query parameters each route accepts (e.g. /rank takes item, by, order, year, continent) — exists only in the description. That is meaningful added value. However, it is a bare enumeration with no explanation of what values like 'by', 'order', or 'kind' accept, so meaning is named, not defined.

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 opening states a specific domain and resource type: 'World Prices by Country. What things cost and how fast prices move, by country and by commodity.' The twelve route names further delineate capabilities. It doesn't distinguish itself from siblings like local-markets or markets, which appear to overlap, so it stops short of a 5.

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?

Usage is implied through the route catalog rather than stated: the agent must infer which route fits which question, and there is no 'use this instead of X' guidance relative to the many sibling price/market tools. The one genuinely actionable guideline is 'set sample=true for a free 3-row preview', which is useful but narrow.

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