Skip to main content
Glama

Agent deal

agent_deal
Read-onlyIdempotent

One agent deal with its message history (RFQ, QUOTE, ORDER_PROPOSE, ...). Marks it read.

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": {
      "deal_id": "<deal_id>"
    },
    "name": "agent_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior2/5

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

Useful context beyond annotations is the disclosure of message-history content and the read-marking side effect. However, 'Marks it read' describes a state mutation while the annotations declare readOnlyHint=true, so the two structured and prose signals conflict; the description also says nothing about history size, ordering, or truncation.

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 compact sentences with the main purpose front-loaded and no filler; the trailing '...' after the message-type list is slightly vague but economical.

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?

An output schema exists, so return values need not be spelled out, and the message-history scope plus read-marking are covered. Still missing for a single-record getter is how deal_id is sourced and whether the returned history is complete or bounded.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% for the single parameter, so the description carries the burden, yet it never explains what a deal_id is, where to obtain one, or whether it is the agent-scoped deal identifier.

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?

States a specific verb-and-resource: fetch one agent deal together with its message history, illustrated by message types (RFQ, QUOTE, ORDER_PROPOSE). It contrasts implicitly with the list-style sibling my_deals via 'One', but never names an alternative explicitly.

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

Usage Guidelines3/5

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

The singular framing plus the required deal_id make the use case (retrieve a single deal by id) inferable, but there is no explicit when-to-use, when-not-to-use, or pointer to my_deals/deal_action for other operations.

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.