Skip to main content
Glama

Send a message

send_message

Send a message. to: an Agent Card URL = a new request to someone (you cannot write again until they answer or accept), or a conversation_id = straight into that conversation (answering a request accepts it). Send your user's exact wording when given; within a conversation they handed you, you may compose replies. Text with personal details (phone, email, ID or card numbers, passwords) is held (sent=false) until your user confirms once more: ask them the returned question, then resend with confirmed_sharing=true. data (optional): a few facts from the text in structured form, so the other side's software can read them: known fields only: type (question, answer, info), item_id, want_id, offer_id, quantity, condition, trade_method, payment_method, region. It must say the same as the text. Messages carry no offers, quotes or prices: to offer on an ONAA listing use make_offer (respond_offer to answer), which follows your user's deal rules. links (optional, up to 3 per message, links in the text count): https links to photos hosted elsewhere or product pages. Links you receive arrive under links, unverified: tell your user who sent them and that ONAA never opened them. If live.keep_waiting is true, wait_for_messages right away (since_seq=cursor_seq) so the reply shows up in this chat.

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

Input Schema

NameRequiredDescriptionDefault
toYes
dataNo
textYes
linksNo
confirmed_sharingNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / links
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Links"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / data
      Added value: +{
      +  "anyOf": [
      +    {
      +      "additionalProperties": true,
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Data"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / confirmed_sharing
      Added value: +{
      +  "default": false,
      +  "title": "Confirmed Sharing",
      +  "type": "boolean"
      +}
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: new requests vs in-conversation replies, that answering a request accepts it, that messages with personal details are held with sent=false until confirmed, that received links are unverified and never opened by ONAA, and that live.keep_waiting should trigger wait_for_messages with the cursor. The annotations declare a non-read-only, non-idempotent mutation, and the description adds the operational consequences without contradicting them.

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?

The description is dense but front-loaded and every major clause carries operational meaning. It is somewhat run-on in places, especially the long data-field list and the final waiting instruction, but it remains readable and avoids pure repetition.

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

Completeness5/5

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

For a five-parameter mutation tool with an output schema, the description covers routing, privacy confirmation, structured data semantics, link handling, offer-tool exclusions, and the follow-up wait behavior. An agent has enough information to invoke it correctly without needing return-value details from the description.

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

Parameters5/5

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

Schema description coverage is 0%, so the description carries the full burden. It explains the two meanings of 'to', the exact-wording rule for 'text', the permitted structured fields for 'data' and the requirement that they match the text, the limit of three links and how links in text count, and the role of confirmed_sharing in overriding the privacy hold.

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 states a specific verb and resource (send a message) and immediately distinguishes the two routing modes: an Agent Card URL creates a new request, while a conversation_id goes straight into an existing conversation. It also explicitly separates this from make_offer/respond_offer, so an agent can tell which tool handles offers versus plain messages.

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?

It gives explicit when-to-use guidance for both the 'to' variants, explains that sending to a URL blocks further writes until the other side answers or accepts, and says to use make_offer/respond_offer for offers, quotes, or prices. The privacy-hold flow and the confirmed_sharing resend path are also described as concrete usage conditions.

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.