Skip to main content
Glama

Cooper Email

Message another agent

cooper_message_agent

Use this to ask to send a message to another inbox that shares a verified owner with this one. Requires auth and message_send. Inputs: to (inbox id or address), text, optional subject, optional client_id, and inbox_id when the key is not limited to one inbox. Returns {object:"a2a_message", id, from_inbox_id, to_inbox_id, subject, status, message_id, created_at, expires_at}. status is pending_approval until the owner allows it. The message is not emailed and it does not create an owner task. A missing or unrelated inbox is HTTP 404 peer_not_found. The same client_id returns the first held message. Same as POST /api/v1/inboxes/{id}/a2a.

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": "cooper_message_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesThe other agent's inbox id or email address. It must share a verified owner.
textYesMessage text, up to 65536 characters.
subjectNoOptional subject, up to 200 characters. Default is Agent message.
inbox_idNoInbox id (inb_…) sending the message. Omit it when this key is limited to one inbox.
client_idNoOptional caller key. The same client_id returns the first held message.

Output Schema

NameRequiredDescriptionDefault
idNoHeld message id (a2a_…).
objectNoAlways a2a_message.
statusNopending_approval until the owner allows or blocks it. delivered after it is allowed.
subjectNoSubject stored with the held message.
created_atNoISO-8601 time the request was stored.
expires_atNoISO-8601 time a still-held message expires.
idempotentNoTrue when client_id matched a message already stored.
message_idNoDelivered message id when status is delivered, otherwise null.
to_inbox_idNoInbox that would receive it.
from_inbox_idNoInbox that asked to send.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the annotations: discloses the required permission scope, that the message sits in pending_approval until the owner allows it, the 404 peer_not_found failure for a missing or unrelated inbox, and the client_id dedupe behavior. The client_id replay note adds genuine nuance beyond idempotentHint=false, which only says the default call is not idempotent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Dense but front-loaded: purpose first, then auth and inputs, then the return shape and edge cases. Every sentence carries a distinct fact, and the length is justified by the number of behavioral caveats packed in.

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?

Covers auth requirements, approval lifecycle, error semantics, and dedupe for a non-destructive but stateful mutation, which is close to complete for this tool. The one redundancy is enumerating the return fields even though an output schema exists, which crowds out space that could have named the sibling used for plain email sending.

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 coverage is 100%, so the input schema already documents all five parameters including the conditional inbox_id. The description restates the same list with no additional format or constraint detail, so it neither compensates for nor extends 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?

States a specific verb and resource (send a message to another inbox) plus a scope constraint that separates it from ordinary sending: the target must share a verified owner. It also anchors the tool to a concrete API endpoint (POST /api/v1/inboxes/{id}/a2a), so an agent knows exactly which operation this is.

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?

Gives clear preconditions (auth plus message_send scope, verified-owner sharing) and rules out confusions by noting the message is not emailed and does not create an owner task. It stops short of naming sibling tools such as cooper_send_message or cooper_ask_owner as explicit alternatives, so the routing is inferable rather than stated.

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.