Skip to main content
Glama

Message the trader

message_trader

Say something for the customer to the trader's Assistant and get its reply: ask for a quote, answer its questions, give an address, phone or timing, change a visit, or chase an update. text is the customer's own words. Signed out it still works, with no jobId: it starts or continues a quote request with Tradehand's own Assistant (find a trade, price a job, get a quote, book), like the chat on tradehand.com; quote_uploadUrl and quote_addPhoto add photos, and if replied is false signed out, quote_get with the quoteToken shows the reply shortly after. Pass jobId for a job (signed in; add photos from upload_photo to show a picture), quoteToken to continue a quote request, or neither to start a new request (originTraderId from search_traders names the trader). The reply comes back as replied true; if replied is false, get_job shows it shortly after.

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": {
      "text": "<text>"
    },
    "name": "message_trader"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
jobIdNoA job from list_my_jobs.
photosNoPhotos from upload_photo (signed in, jobId or Assistant messages).
quoteTokenNoThe quoteToken message_trader returned for a quote request.
originTraderIdNoA trader from search_traders, only when starting a new request.

Output Schema

NameRequiredDescriptionDefault
dataYes
outcomeYes
blockersYes
revisionNo
nextActionsYes
continuationYes
missingFactsYes
schemaVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / photos
      Added value: +{
      +  "description": "Photos from upload_photo (signed in, jobId or Assistant messages).",
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "claimToken": {
      +        "type": "string"
      +      },
      +      "storageId": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "storageId",
      +      "claimToken"
      +    ],
      +    "type": "object"
      +  },
      +  "maxItems": 10,
      +  "type": "array"
      +}
  2. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare openWorld and non-destructive; the description supplies the behavior that actually matters here: replies can be asynchronous (replied true/false), and there is a defined fallback retrieval tool for each auth mode. It also discloses the signed-out capability and that photos require upload_photo, which the annotations alone could never convey.

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?

The purpose is front-loaded, but the body is one dense run-on of stacked conditionals covering auth modes, token types, and photo handling. The delayed-reply rule is stated twice (once for the signed-out quote_get path, once for get_job), which is real redundancy rather than reinforcement.

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 five-parameter tool with a rich output schema, the description covers the hard parts: which identifier selects which mode, signed-in versus signed-out behavior, photo sourcing, and how to retrieve a pending reply. It stops short of covering failure or rate-limit behavior, but nothing needed to invoke the tool correctly is missing.

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

Parameters4/5

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

Schema coverage is 80%, so the schema already documents most parameters including the mutual-exclusion constraint. The description still adds meaning: text is the customer's own words (not instructions to the assistant), originTraderId applies only when starting a new request, and quoteToken is the value message_trader itself returned. It does not add syntax or format detail for photos beyond pointing at upload_photo, so it falls just short of a 5.

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 opening clause names a specific verb and resource ('Say something for the customer to the trader's Assistant and get its reply') and immediately enumerates the concrete intents it serves: quote, answers, address/phone/timing, visit changes, chasing updates. It also carves out a second mode (signed-out quote requests to Tradehand's own Assistant), which separates it from siblings like quote_get and quote_addPhoto that the description references by name.

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

Usage Guidelines5/5

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

Routing is explicit: pass jobId for a job, quoteToken to continue a quote request, neither to start a new one with originTraderId from search_traders. The signed-out case is called out with its own path ('it still works, with no jobId') and the follow-up retrieval step is named (quote_get for signed out, get_job otherwise), so an agent knows what to do when replied is false.

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.