get_pricing
Retrieve current per-receipt pricing information for cryptographic consent verification. No API key required.
Instructions
Get current per-receipt pricing. Public — no API key needed.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- openterms_mcp_server.py:256-265 (handler)The handler logic for "get_pricing" tool, which fetches pricing information from the API.
elif name == "get_pricing": resp = client.get("/v1/pricing", headers=_headers(auth=False)) if resp.status_code == 200: p = resp.json() return ( f"Pricing version: {p.get('version', '?')}\n" f" Per receipt: {p.get('per_receipt', '?')} USDC minor units\n" f" Currency: {p.get('currency', 'USDC')}" ) return _format_error(resp) - openterms_mcp_server.py:64-67 (schema)The schema registration for "get_pricing" tool in the TOOLS list.
"name": "get_pricing", "description": "Get current per-receipt pricing. Public — no API key needed.", "inputSchema": {"type": "object", "properties": {}}, },