Skip to main content
Glama

send

Delivers end-to-end encrypted JSON messages to one or many contacts, validates payloads against known schemas before dispatch, supports thread replies, and returns a message ID per recipient.

Instructions

Sends an E2E-encrypted message to a contact (or to a list of contacts — fan-out). data — any JSON, schema — a format tag (for example finreport.v1), note — an optional comment, thread_id — to reply in an existing thread. Returns a msg_id for each recipient. For mandates use send_mandate, not send. If the tag is known to the client (see /schemas), data is checked against the schema BEFORE sending: a mismatch is returned as SCHEMA_MISMATCH and the message is not sent. A recipient whose safety number the owner has not compared yet is refused with E_UNVERIFIED_RECIPIENT — first show the owner the code (verify_contact). allow_unverified=true sends anyway and returns a warning: use it only on the owner's direct instruction. data larger than 64 KiB (or a note larger than 2 KiB) is sent, but the response carries a warning: a recipient on client 0.1.6+ saves the message in full and shows it to the model in brief, clients up to 0.1.5 discard such data; it has arrived in full when a notice.v1 with this msg_id comes back.

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>",
      "data": "<data>"
    },
    "name": "send"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
dataYes
noteNo
schemaNomessage.v1
thread_idNo
allow_unverifiedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (which only say not-readonly, open-world, non-idempotent), the description discloses pre-send schema validation, the SCHEMA_MISMATCH refusal, E_UNVERIFIED_RECIPIENT handling, and per-recipient msg_id returns. It also documents size-limit behavior and client-version-dependent delivery plus the notice.v1 confirmation signal, which is exactly the kind of context annotations cannot carry.

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?

It is front-loaded with purpose and alternatives, and virtually every clause carries operational information (error codes, limits, confirmation signal). However, it is delivered as one dense run-on paragraph, so parameter definitions and error behavior are harder to scan than a short bulleted structure would allow.

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?

There is no output schema, and the description compensates by explaining the return value (msg_id per recipient) and the warning-bearing response for oversized data. For a six-parameter, side-effecting tool with multiple refusal modes, the failure paths an agent must handle are all disclosed.

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 must define the parameters, and it does: to (single or list for fan-out), data (any JSON), schema (format tag with example finreport.v1), note (optional comment), thread_id (reply in existing thread), and allow_unverified (send anyway with warning). Every one of the six parameters gains meaning not present in the bare 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 first clause states a specific verb and resource ('Sends an E2E-encrypted message to a contact') and immediately clarifies fan-out to a list. It explicitly contrasts with the sibling send_mandate, so an agent can distinguish the two without inspecting schemas.

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 routing rules: 'For mandates use send_mandate, not send', and 'first show the owner the code (verify_contact)' for unverified recipients. It also bounds the risky path by saying allow_unverified should be used 'only on the owner's direct instruction', which is a clear when/when-not statement.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.