Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

accept_rfq_quote

Execute a selected RFQ quote using its RFQ and quote IDs; automatically fetches quote details and blocks execution if the optional max total cost is exceeded, returning trade details.

Instructions

Execute a specific quote from an RFQ. Fetches the quote details automatically — you only need rfq_id and quote_id (no need to replay legs). Optional max_total_cost safety bound prevents execution if quote cost exceeds limit. Returns LifecycleResult with trade details on success.

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>",
      "quote_id": "<quote_id>"
    },
    "name": "accept_rfq_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
rfq_idYesRFQ ID
quote_idYesQuote ID to accept (from await_rfq_quotes)
subaccount_idNoSubaccount ID (defaults to configured)
max_total_costNoSafety bound: reject if total cost exceeds this (USDC)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses that quote details are auto-fetched and that max_total_cost acts as a rejection bound, but for an execution/mutation tool it says nothing about reversibility, permissions, partial fills, or failure modes beyond the vague 'on success'.

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?

Three tight sentences front-load the action, then the minimal-input requirement, the safety bound, and the return type — no filler. The 'LifecycleResult<RfqReceipt>' type name is jargon that costs a bit of readability but conveys the response shape succinctly.

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

Completeness3/5

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

For a 4-parameter execution tool with no annotations and no output schema, the definition covers inputs and the safety bound but is thin on what happens on rejection, ordering guarantees, or what RfqReceipt contains. Adequate to call correctly, not complete enough to predict behavior.

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 coverage is 100%, so every parameter is already documented, and the description's 'you only need rfq_id and quote_id' mostly restates what required-field markers already convey. The 'no need to replay legs' clarification adds modest practical value but does not explain the subaccount default or cost unit beyond the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ('Execute a specific quote from an RFQ') and adds the key mechanic that quote details are fetched automatically, so the agent knows it need not supply leg data. It does not, however, distinguish itself from the sibling execute_quote, leaving some ambiguity about which of the two execution tools to pick.

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?

It gives clear situational context by noting quote_id comes from await_rfq_quotes, which tells the agent where in the workflow this fits, and it notes the optional max_total_cost guard for risk-limited execution. There is no explicit when-not guidance or named alternative (e.g., execute_quote), so it stops short of full routing guidance.

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