Skip to main content
Glama
jstibal

Openterms-mcp

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
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • 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)
  • 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": {}},
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jstibal/openterms-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server