Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

await_rfq_quotes

Poll an open RFQ for received quotes without executing or canceling it; returns QUOTED if quotes arrive and leaves the RFQ OPEN on timeout.

Instructions

Poll for quotes on an open RFQ. Returns all received quotes without executing any. Does NOT cancel the RFQ on timeout — it remains open until valid_until or explicit cancel. If quotes are found, status is 'QUOTED'. If timeout with no quotes, status remains 'OPEN'. Use accept_rfq_quote to execute a specific quote.

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": {
      "rfq_id": "<rfq_id>"
    },
    "name": "await_rfq_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
rfq_idYesRFQ ID to poll for quotes
subaccount_idNoSubaccount ID (defaults to configured)
max_wait_secondsNoMaximum seconds to wait for quotes (default 30)
poll_interval_secondsNoSeconds between polls (default 2)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it discloses that polling is non-destructive, that timeout does not cancel the RFQ, the lifecycle bound (valid_until or explicit cancel), and the resulting status in both branches ('QUOTED' vs 'OPEN'). It does not mention authorization requirements or whether the call blocks up to max_wait_seconds, but the safety-relevant behavior is well covered.

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?

The most important fact (poll only, no execution) is front-loaded, and each sentence carries distinct information. There is mild redundancy between the timeout/cancel sentence and the 'status remains OPEN' sentence, which restates the same outcome from a different angle.

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?

There is no output schema, so the description must convey the return shape itself, and it does by stating that all received quotes are returned and that a status field resolves to 'QUOTED' or 'OPEN'. For a four-parameter polling tool this is nearly sufficient; only quote payload contents and blocking behavior are left implicit.

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 description coverage is 100%, so all four parameters including defaults are already documented in the schema. The description adds only indirect meaning around timeout behavior, which connects loosely to max_wait_seconds but gives no guidance on choosing wait or poll intervals. Baseline 3 is appropriate here.

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?

The description opens with a specific verb and resource: "Poll for quotes on an open RFQ," and immediately clarifies the non-executing scope ("Returns all received quotes without executing any"). It also explicitly separates itself from the execute path by naming accept_rfq_quote, so an agent can distinguish it from siblings without opening any schema.

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?

Usage context is clear: poll an already-open RFQ when you expect quotes to arrive asynchronously, and hand off to accept_rfq_quote to act on one. The exclusion (does not cancel, does not execute) is stated. The only gap is that it does not contrast with get_quotes, which an agent might reasonably consider for the same data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.