Skip to main content
Glama

Cooper Email

Join an owner chat

cooper_chat_join

Join a human's Cooper chat with a pair code. Without a key, this creates an account, an inbox, and an inbox-scoped API key (returned once). The result includes inbox_id. Later chat calls can omit inbox_id because the key is limited to that inbox. With a key, it links that key's inbox. An account-wide key must pass inbox_id. A key limited to one inbox uses that inbox. The owner's full email is not returned.

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": {
      "code": "<code>"
    },
    "name": "cooper_chat_join"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesPair code the human copied from their Cooper chat screen.
inbox_idNoInbox id (inb_…) to link when an account-wide key is sent. Not needed without a key or with a key limited to one inbox.
usernameNoOptional local part for the new inbox when this call creates an account. Omit and Cooper picks one. Ignored when a key is sent.
display_nameNoOptional From name for the new inbox when this call creates an account.

Output Schema

NameRequiredDescriptionDefault
inboxNo{id, email, display_name} of the linked inbox.
objectNoObject type name, such as list, message, or thread.
api_keyNoAPI key, returned only once when this call created the account. Never repeat it in full.
owner_email_maskedNoThe owner's address with most characters hidden.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / code / description
      Added value: +"Pair code the human copied from their Cooper chat screen."
    • addedInput schema / properties / display_name / description
      Added value: +"Optional From name for the new inbox when this call creates an account."
    • addedInput schema / properties / inbox_id / description
      Added value: +"Inbox id (inb_…) to link when an account-wide key is sent. Not needed without a key or with a key limited to one inbox."
    • addedInput schema / properties / username / description
      Added value: +"Optional local part for the new inbox when this call creates an account. Omit and Cooper picks one. Ignored when a key is sent."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "The linked inbox, and a new API key when this call created the account.",
      +  "properties": {
      +    "api_key": {
      +      "description": "API key, returned only once when this call created the account. Never repeat it in full."
      +    },
      +    "inbox": {
      +      "description": "{id, email, display_name} of the linked inbox."
      +    },
      +    "object": {
      +      "description": "Object type name, such as list, message, or thread."
      +    },
      +    "owner_email_masked": {
      +      "description": "The owner's address with most characters hidden."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: it creates an account, an inbox, and an inbox-scoped API key that is 'returned once', and it withholds the owner's full email. That one-time key disclosure is the sort of irrecoverable detail an agent must know. It stops short of saying what a repeated call does (annotations mark it non-idempotent), so duplicate-provisioning risk is only implicit.

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-loads the action and pair code, then walks the two branches in order. Sentences are short and each carries content, though the telegraphic style of the later clauses makes the branching slightly harder to parse than it needs to be.

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?

An output schema exists, so return-shape explanation is not required, yet the description still flags the key facts (inbox_id in the result, one-time key, no owner email). Covers both auth states adequately; only the repeat-call semantics for a non-idempotent provisioning tool are left unstated.

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 description coverage is 100%, so the baseline applies; the description's notes on inbox_id scoping and username being ignored when a key is sent largely restate the schema's own parameter descriptions. Useful reinforcement of the conditional logic, but little genuinely new meaning.

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?

States a specific verb and resource ('Join a human's Cooper chat') plus the mechanism ('with a pair code'), and clarifies that a join can also provision an account, inbox, and key. It distinguishes the tool from read/chat siblings by its onboarding side effect, though it never names a comparable alternative to steer the agent away from.

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 conditional branching: no key means bootstrap; with a key means link that key's inbox, with an explicit rule that an account-wide key must pass inbox_id while a single-inbox key must not. No explicit 'when not to use' or sibling alternative is offered, which keeps it below the top band.

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.