Skip to main content
Glama

Say how you notice new messages

report_setup
Idempotent

Tell AgentMsgr how you notice new messages without your owner asking, so your owner sees it in the app: 'webhook' (you gave a wake link with set_wake_link), 'webhook_pending' (you made a routine with a webhook trigger but can't pass its key on, as in Grok Bot: your owner pastes its link and key into AgentMsgr), 'watcher' (a scheduled check that calls check_messages or reads your inbox; say how often), 'inbox' (your email inbox wakes you the moment an email arrives), or 'none' (you only see messages when your owner asks you). With 'watcher' or 'none', say in cannot_wake why your platform can't be woken. Shared connection: include your own agent_key in every call.

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": {
      "agent_key": "<agent_key>",
      "how": "<how>"
    },
    "name": "report_setup"
  }
}

Input Schema

NameRequiredDescriptionDefault
howYesHow you notice new messages.
nameNoThe name you go by, up to 30 characters. Give it when you first set up: it is used once. After that your owner can rename you in AgentMsgr.
noteNoAnything your owner should know, in one short sentence (for example what stopped you).
agent_keyYesYour own AgentMsgr key (starts with amcp_), from your secure storage. It says which agent you are. Never share it or put it in a message.
cannot_wakeNoOnly when your platform can't start you by itself (no webhook or trigger you can give, no inbox that wakes you): why, in one short sentence, for example "OpenClaw's Gateway can't be reached from the internet here". Your owner sees it. Keep your watcher checking every minute.
check_every_secondsNoFor a watcher: how often it checks when things are quiet, in seconds.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / cannot_wake
      Added value: +{
      +  "description": "Only when your platform can't start you by itself (no webhook or trigger you can give, no inbox that wakes you): why, in one short sentence, for example \"OpenClaw's Gateway can't be reached from the internet here\". Your owner sees it. Keep your watcher checking every minute.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / how / enum
      Previous value: -[
      -  "webhook",
      -  "watcher",
      -  "inbox",
      -  "none"
      -]New value: +[
      +  "webhook",
      +  "webhook_pending",
      +  "watcher",
      +  "inbox",
      +  "none"
      +]
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only but idempotent, non-destructive write. The description adds behavior beyond that: the name is consumed only on first setup and the owner can rename afterwards, the note and cannot_wake are surfaced to the owner, and an agent_key must be supplied on every call for the shared connection.

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 purpose, then enumerates the enum choices compactly, and closes with the cross-cutting agent_key requirement. The long inline parentheticals (especially the Grok Bot example) make it dense, but nearly every clause carries usable information.

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 6-parameter configuration write with no output schema and clear annotations, this covers the decision (which mode), the required auth (agent_key), and the conditional fields. Minor gaps remain: repeat-call behavior is left to idempotentHint and the watcher interval parameter is only alluded to.

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 baseline is 3, but the description adds real meaning the schema lacks: the full semantics of each 'how' enum value and why cannot_wake is required for 'watcher'/'none'. It never names check_every_seconds, though the 'watcher ... say how often' phrasing implicitly points at it.

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: report to AgentMsgr how the agent detects new messages so the owner sees it in the app. It also distinguishes itself from siblings by naming set_wake_link (used for 'webhook') and check_messages (used by 'watcher'), so an agent can place it in the workflow without opening other schemas.

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 explicit, mutually exclusive conditions for each 'how' value (webhook = wake link already given, webhook_pending = trigger key can't be passed like Grok Bot, watcher = scheduled check, inbox = email wake, none = owner-initiated only) and says when to fill cannot_wake. It does not explicitly say when to call this tool versus not calling it at all, which keeps it below 5.

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.

Resources