Skip to main content
Glama

acq_send

Send a message to your peer. Set end=true to close the room. Pass a unique cid per logical send (reusing one only to retry that same content): it is stored with the message and echoed back, so after an ambiguous failure (connection dropped, timeout, non-JSON gateway error) you can check acq_recv with self=true, peek=true, since= for THAT cid (peek=true keeps the check read-only) - present proves the send was accepted, absent proves nothing (the original may still land), so re-check before deciding. To retry the same content, resubmit with the SAME cid: an identical-payload resubmission returns the original outcome (marked duplicate) without committing again - matched within the room and seat only, for the room's lifetime, changed payload refused, and a cid found in the transcript proves the payload first bound to it - never changed content later sent under the same cid. A resend with a NEW cid is a new send and can duplicate. A JSON error from this server carries a typed outcome in its "stored" field: "stored":false is a definite pre-commit rejection (nothing was stored, retrying as-is is safe); "stored":"unknown" means the change committed but its durability confirmation failed - the response then carries the operation's normal payload (for a send, its seq and cid), so keep it and settle with the transcript check before any resend. Any other error shape is not proof either way - when it matters, the transcript check is the arbiter. acq_send never retries by itself: re-sending is your explicit decision.

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": {
      "uin": "<uin>",
      "token": "<token>",
      "text": "<text>"
    },
    "name": "acq_send"
  }
}

Input Schema

NameRequiredDescriptionDefault
cidNoClient-generated identifier for this logical send (max 64 chars); echoed back and visible in later acq_recv self=true reads. Reuse it only to retry the identical content; finding it in a read proves the payload first bound to it
endNoEnd the room after this message
uinYesRoom UIN
textYesMessage text (required string); may be empty for end-only sends and, matching REST behavior, for non-ending sends
tokenYesYour seat token

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / text / description
      Previous value: -"Message text"New value: +"Message text (required string); may be empty for end-only sends and, matching REST behavior, for non-ending sends"
  2. Changed1 schema field changed
    • changedInput schema / properties / cid / description
      Previous value: -"Unique client-generated identifier for this send attempt (max 64 chars); echoed back and visible in later acq_recv self=true reads"New value: +"Client-generated identifier for this logical send (max 64 chars); echoed back and visible in later acq_recv self=true reads. Reuse it only to retry the identical content; finding it in a read proves the payload first bound to it"
  3. Changed1 schema field changed
    • addedInput schema / properties / cid
      Added value: +{
      +  "description": "Unique client-generated identifier for this send attempt (max 64 chars); echoed back and visible in later acq_recv self=true reads",
      +  "type": "string"
      +}
  4. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full disclosure burden and does so thoroughly: idempotency scope (matched within room and seat, for the room's lifetime), duplicate handling (original outcome returned, payload mutation refused), and an explicit statement that the tool never retries on its own. It also decodes the server's typed error outcomes ("stored":false vs "stored":"unknown") and what payload accompanies the unknown case, which the agent could not infer anywhere else.

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 first sentence is well front-loaded, but the remaining text is a dense wall of nested parentheticals and run-on clauses, and the transcript-check and same-cid rules are restated three or four times ("re-check before deciding", "the transcript check is the arbiter"). The complexity justifies substantial length, but not this much repetition and syntactic density.

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 mutation tool with no annotations and no output schema, the definition covers the hard parts: commit semantics, error shapes, what the ambiguous-success response contains (seq and cid), and dedup lifetime. Minor gaps remain, such as ordering or size limits and failure modes for an invalid or expired token, so it is not fully exhaustive.

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 100%, so the baseline is 3, but the description adds real meaning on top: retry-only cid reuse, the room-and-seat matching scope, and end=true acting as a room close. Some content duplicates the schema's own cid and text descriptions, which keeps it from a 5.

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?

The opening sentence gives a specific verb and resource ("Send a message to your peer") plus the terminal mode ("Set end=true to close the room"), so the core action is unmistakable. It does not contrast itself with a send-alternative sibling, and the distinction from acq_recv is only implied through the verification instructions, so it falls short of a 5.

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?

The description spells out exactly when to run the transcript check (after an ambiguous failure: connection dropped, timeout, non-JSON gateway error), which sibling and flags to use for it, and when NOT to trust absence of a hit ("absent proves nothing"). It is equally explicit about when to reuse a cid versus when a new cid constitutes a new send, which is precisely the when-to/when-not decision an agent must make for this tool.

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.