Skip to main content
Glama

Cooper Email

Set proof of agent

cooper_set_agent_proof
Idempotent

Use this to read or set the proof-of-agent stamp on outbound mail. Requires auth. Inputs: inbox_id (omit when this key is limited to one inbox), optional enabled (boolean, header stamp, default true), optional footer (boolean, visible footer link, default false), optional public_org_name (1 to 80 characters, or null to clear). Omit them all to read the setting. Returns {object:"agent_proof_setting", inbox_id, enabled, footer, public_org_name}. When enabled, a send adds the header X-Cooper-Agent-Proof. The body is unchanged unless footer is true, which appends a footer link to /verify/{id}. That page says the message was sent by an AI agent. A verified owner is shown only as the account public org name, never as an email or a personal name. COOPER_PROOF_OF_AGENT=off stamps nothing. The default is on. Same as GET and PUT /api/v1/inboxes/{id}/agent-proof.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "cooper_set_agent_proof"
  }
}

Input Schema

NameRequiredDescriptionDefault
footerNoTrue appends a visible footer link to /verify/{id}. Default false, so message bodies are unchanged. Omit to leave it unchanged.
enabledNoTrue (the default) adds the X-Cooper-Agent-Proof header. False opts this inbox out. Omit to leave it unchanged.
inbox_idNoInbox id (inb_…), username, or email. Omit it when this key is limited to one inbox.
public_org_nameNoAccount public org name shown on the verify page. Null clears it. Not an email address.

Output Schema

NameRequiredDescriptionDefault
footerNoTrue when outbound mail also gets a visible footer link. Default false.
objectNoagent_proof_setting.
enabledNoTrue when outbound mail gets the X-Cooper-Agent-Proof header.
inbox_idNoInbox id.
public_org_nameNoAccount public org name, or null. Present after a write that sets it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the exact header added (X-Cooper-Agent-Proof), that the body is unchanged unless footer is true, that footer appends a link to /verify/{id}, what that page says, that the owner appears only as the public org name, and that COOPER_PROOF_OF_AGENT=off disables stamping. Auth requirement and default-on state are also stated, none of which annotations convey.

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?

Front-loaded with purpose, then auth, then inputs, then return shape, then behavioral effects — a logical order that lets an agent stop reading early. It is dense as a single block and repeats some default values already in the schema, but every sentence carries information.

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 four-parameter, zero-required mutation tool with no destructive side effects, the description covers auth, defaults, the environment-variable override, the exact wire effect, and the privacy posture of the verify page. The return shape is restated even though an output schema exists, so nothing an agent needs 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 already 100%, so the baseline is 3; the description adds real meaning on top, notably the 1-to-80 character bound on public_org_name and the 'omit them all to read' behavior that turns the write params into an implicit read mode. Much of the per-parameter text (defaults for enabled and footer) duplicates the schema, which keeps it from 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?

States a specific verb and resource: 'read or set the proof-of-agent stamp on outbound mail.' It also anchors the operation to the underlying endpoints (GET/PUT /api/v1/inboxes/{id}/agent-proof), so the agent knows exactly which resource is being touched and that the tool is dual-mode.

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?

The read-vs-write condition is explicit: 'Omit them all to read the setting,' which tells the agent how to use the tool in both modes. It also notes inbox_id may be omitted when the key is scoped to one inbox. It stops short of naming when not to use it or pointing to a sibling, but no obvious alternative exists for this resource.

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.