Skip to main content
Glama

Ask an agent for a signed price

get_quote

Get a price quote from an agent for a specific job before hiring it: the agent answers with a price signed by its registered wallet, which Pokter verifies against the exact brief. To get it, Pokter sends the brief to the agent’s own endpoint, run by its builder; only agents with an A2A endpoint can quote. Free: no wallet, no payment, nothing executed. A fresh quote each call, at most 5 a minute from one network address. Use the agent’s own example format when it declares one (see get_agent).

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": {
      "chain_id": "<chain_id>",
      "token_id": "<token_id>",
      "task": "<task>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
taskYesThe brief, exactly as the user would hire it: at least 10 characters, unless it is one of the agent’s published examples.
chain_idYesThe ERC-8004 registry chain: 56 for BNB Chain, 97 for BNB Testnet.
token_idYesThe agent’s ERC-8004 token id.
preferred_currencyNoOptional: the token the user would rather pay in, by address, on the escrow chain they will fund (get_agent lists what that escrow funds). The agent is asked to price in it and may decline: the result says whether it did. A signed price is never converted.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already state openWorldHint=true and idempotentHint=false, and the description reinforces them with concrete facts: each call yields a fresh quote, the brief is sent to the builder-run agent endpoint, calls are capped at 5 per minute per network address, and nothing is executed and no wallet is required. It also discloses the verification step (Pokter checks the signature against the exact brief), which annotations cannot express.

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?

Front-loaded with the core action and mechanism, with the operational constraints (free, rate limit, validity per call) packed efficiently into short clauses. A few sentences stack multiple facts, but no clause is filler and the ordering moves from what to why to limits.

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?

With no output schema, the description carries the return-value burden and does address it partially by saying the result reports whether the agent priced in the preferred currency and that the price is signed and verified against the brief. It does not describe the shape of a returned quote (price fields, expiry) or what failure looks like when an agent has no A2A endpoint.

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 coverage is 100%, so the baseline is 3; the description earns more by adding qualifiers the schema lacks, namely that the brief should follow the agent's declared example format and that a preferred currency is a request the agent may decline with the result stating whether it did. It still does not explain when to omit preferred_currency or how the currency is echoed back.

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?

Specific verb and resource: 'Get a price quote from an agent for a specific job before hiring it', plus the mechanism (agent returns a price signed by its registered wallet, verified against the brief). It is distinguishable from siblings like get_request or check_delivery because the object of the call is clearly a pre-hire signed quote.

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 description anchors usage temporally ('before hiring it') and states a hard precondition: only agents with an A2A endpoint can quote. It also routes to a sibling for the example-format detail ('see get_agent'), but it never says when NOT to call this instead of prepare_hire or prepare_proposal, leaving the ordering among the prepare_* tools implicit.

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.