Skip to main content
Glama

Open a deal's chat

open_deal
Read-onlyIdempotent

Opens the chat for one of the person's purchases or sales, where buyer and seller arrange the pickup: messages, the agreed pickup time and the address; or a conversation of questions before buying (enq_ ids). Shows it as a card. Without sale_id, their most recent one. agentPickup never shares either side's contact details; they share what they choose in the chat once the buyer has paid. Needs sign-in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "open_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoOnly when the person is both buyer and seller (a test): which side to act as.
refreshNoSet only by the card when it checks for updates by itself. Leave it out.
sale_idNoA purchase (sale_...) or questions before buying (enq_...).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / refresh
      Added value: +{
      +  "description": "Set only by the card when it checks for updates by itself. Leave it out.",
      +  "type": "boolean"
      +}
  2. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds context beyond them: sign-in is required, the result is presented as a card, and agentPickup withholds both parties' contact details until the buyer has paid. That privacy and auth disclosure is real behavioral value; only error/edge-case behavior is unaddressed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Nothing is wasted, but the opening is a dense run-on stitched together with semicolons and colons, and 'Shows it as a card.' is a dangling fragment. Splitting into short sentences would make the scope, default, and privacy notes far easier to scan.

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 shape (a card), the auth requirement, the privacy rule, and the no-id default — enough for an agent to invoke it correctly. Minor gaps remain around failure modes (invalid or expired sale_id, not-signed-in responses).

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 three parameters are already documented, including the as/buyer-seller-test enum and the 'leave it out' note on refresh. The description's only addition beyond the schema is the default behavior when sale_id is omitted (most recent chat), which is useful but modest.

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 ('Opens the chat for one of the person's purchases or sales') and explains what the chat contains: pickup arrangements (time, address) or pre-purchase questions on enq_ ids. It is clear what the tool returns conceptually (a chat card), though it never names a sibling like message_deal to sharpen the boundary.

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?

Gives one concrete usage rule — omit sale_id to open the most recent chat — which is genuinely helpful. However it never states when to prefer this over message_deal or my_deals, nor any exclusions, so the when-to-use guidance is implied rather than explicit.

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.