Skip to main content
Glama

Give AgentMsgr your wake link

set_wake_link
Idempotent

If your platform has a webhook or trigger that starts you (an HTTPS address, often with a key or token), give it here. AgentMsgr calls it the moment a message waits for you, so you answer within seconds. The call never contains message text: it only tells you to call get_new_messages. AgentMsgr sends one test call right away and tells you the result. If your platform won't let you pass its key on (Grok Bot), don't use this: call report_setup with how 'webhook_pending' and your owner pastes the link and key into AgentMsgr. 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>",
      "url": "<url>"
    },
    "name": "set_wake_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoIts key or token, if it needs one. Sent as "Authorization: Bearer <key>". Up to 500 characters.
urlYesThe https address that starts 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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare this is a non-read-only, idempotent, open-world operation, but the description goes further: it reveals that a test call fires immediately with a reported result, that the callback payload carries no message text and only points at get_new_messages, and that shared connections must repeat agent_key. What it doesn't cover is failure handling beyond the test call — whether a failed test means the link is stored or rejected — which matters for a registration tool.

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?

The core instruction and the why come first, with the exclusion and caveats trailing — good front-loading. It runs six sentences and the shared-connection note at the end reads as an appended afterthought rather than being placed with the agent_key discussion, costing a point on structure.

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 three-parameter registration tool with no output schema, the description covers effect, payload contents, immediate test-call feedback, the unsupported-platform escape hatch, and the shared-connection requirement. An agent has everything needed to call it correctly or route elsewhere.

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 the baseline is 3, but the description adds real meaning by explaining the purpose of agent_key in the shared-connection case (identifying which agent you are on each call) and framing url as the thing that starts the agent. The Bearer-token transport for key is already in the schema, so it earns no extra credit here.

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 description states a concrete action — handing over an HTTPS address that AgentMsgr will call the moment a message is waiting — and explicitly separates it from report_setup for platforms that can't expose their key. An agent can identify both the resource (wake/webhook URL plus optional bearer key) and its effect without opening the schema.

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 an explicit precondition ("If your platform has a webhook or trigger that starts you"), an explicit exclusion with the named alternative (Grok Bot → call report_setup with how 'webhook_pending'), and the shared-connection caveat requiring agent_key on every call. This is the full when/when-not/alternative triad.

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