Skip to main content
Glama

Get one RFQ

get_rfq
Read-onlyIdempotent

One request or private order by id: direction, base amount and asset, quote asset, askAmount, visibility, status and expiry, in base units. Anyone holding the id can read it, which is how a private order's link works; an unknown id answers 404. To browse use list_open_rfqs; for your own use list_my_rfqs.

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": {
      "id": "<id>"
    },
    "name": "get_rfq"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesRequest id from list_open_rfqs, list_my_rfqs or a share link

Output Schema

NameRequiredDescriptionDefault
rfqNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / id / description
      Added value: +"Request id from list_open_rfqs, list_my_rfqs or a share link"
    • addedInput schema / properties / id / pattern
      Added value: +"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "rfq": {
      +      "additionalProperties": {},
      +      "properties": {
      +        "askAmount": {
      +          "type": [
      +            "string",
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "baseAmount": {
      +          "type": [
      +            "string",
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "description": "Request id",
      +          "type": "string"
      +        },
      +        "status": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the generic readOnly/idempotent/openWorld profile; the description adds non-obvious behavior beyond that — that the id alone authorizes the read (the mechanism behind private-order links, i.e. no owner scoping) and that an unknown id returns 404. Error semantics and access-control behavior are exactly the kind of context 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?

Two sentences, front-loaded with purpose then alternatives, with no filler. The one inefficiency is the long enumerated field list, which largely restates what the output schema already provides.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only single-record lookup with an output schema (so return values needn't be re-explained) and one fully documented param, the description supplies the remaining essentials: access model, 404 behavior, and sibling routing. Nothing an agent needs before calling is missing.

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?

With a single parameter and 100% schema description coverage, the schema already documents that the id comes from list_open_rfqs, list_my_rfqs or a share link. The description's mention of link-sourced ids duplicates rather than extends that, so the baseline 3 applies.

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 verb-and-resource pairing: fetch one request/private order by id, and immediately enumerates the payload fields (direction, base amount/asset, quote asset, askAmount, visibility, status, expiry). This is unmistakably distinct from the list_* siblings that appear alongside it.

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

Usage Guidelines5/5

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

Explicitly routes the agent to alternatives by name and condition: 'To browse use list_open_rfqs; for your own use list_my_rfqs.' Both the when-not and the substitute tools are stated, leaving nothing to inference.

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.