Skip to main content
Glama

Send a message in a deal's chat

message_deal

Sends something in a deal's chat, to the other side: a message, a proposed pickup time, accepting the other side's proposed time, or (the seller only) the pickup address. Send only what the person asked you to, in their words. Payment only goes through agentPickup: messages asking for another payment, and links, aren't sent. The other side sees it in their chat and gets an email if they don't read it soon. Needs sign-in.

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": {
      "sale_id": "<sale_id>"
    },
    "name": "message_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
asNoOnly when the person is both buyer and seller (a test): which side to act as.
textNoThe message, in the person's words.
sale_idYes
accept_pickupNoAccept the pickup time the other side proposed.
pickup_addressNoThe seller only: the address to pick up from.
propose_pickup_atNoA pickup time to propose: "YYYY-MM-DDTHH:MM" on the local clock where the item is picked up.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the annotations it discloses real behavior: the recipient sees it in chat and receives an email if they don't read it soon, sign-in is required, and some content (payment requests, links) is silently not sent. It does not warn that the call is non-idempotent, i.e. that repeating it sends another message, which is the one notable gap given idempotentHint=false.

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?

Four sentences, purpose front-loaded, each carrying distinct information (capabilities, content constraint, payment/link exclusion, delivery and auth). The first sentence is long but dense rather than padded; nothing is redundant.

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?

For a six-parameter mutation tool with no output schema, it covers who can use which field, what the recipient experiences, auth, and content restrictions. It is thin on what a successful call returns and on what happens if multiple payload parameters are supplied together, though the 'or' phrasing implies a one-of pattern.

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 83%, so the schema already documents all six parameters including the seller-only restriction and the local-clock time format. The description adds only the framing that these are alternative payloads rather than combinable fields, and that text should be in the person's words — useful but marginal over the schema.

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 ("Sends something in a deal's chat, to the other side") and then enumerates the four supported payload modes — message, proposed pickup time, accepting a proposed time, and seller-only pickup address. That enumeration maps directly onto the distinct schema parameters, so an agent can tell what this tool covers without opening the 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?

It gives clear in-context guidance: send only what the person asked, in their own words, and payment-related messages or links are not permitted because payment only goes through agentPickup. What it lacks is explicit routing against siblings such as ask_seller or answer_offer — the agent must infer that offers and general shop questions go elsewhere.

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.