Skip to main content
Glama

Tell your owner you're waiting for them in your app

waiting_in_app

Call this right before a step your own app (Grok Bot, Muse, ChatGPT, Claude...) will make your owner confirm there: a yes/no card, a permission prompt, an email waiting for Send. AgentMsgr can't see that card, so this is how your owner hears about it: they get a "Waiting for you in " card with a button that opens your app. Say what they will be asked to confirm. Then do the step. Your next message in the chat clears the card. For approvals your owner can give in AgentMsgr itself, use request_approval instead. 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>",
      "chat_id": "<chat_id>",
      "what": "<what>"
    },
    "name": "waiting_in_app"
  }
}

Input Schema

NameRequiredDescriptionDefault
whatYesWhat your owner will be asked to confirm in your app, in one short sentence (up to 300 characters). Example: "Send the weekly report email to the team".
chat_idYesThe chat the step belongs to (the one your owner is waiting in).
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. Added

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description adds real behavioral context: the owner receives a 'Waiting for you in <your app>' card with an open-app button, AgentMsgr itself cannot see that card, and the card is cleared by the next chat message. It also discloses the auth requirement ('include your own agent_key in every call') for shared connections.

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 the trigger and the effect, then the sibling routing and the auth caveat; nearly every sentence carries distinct information. It is dense and long for a 3-parameter tool, with the parenthetical app list adding bulk, but nothing is truly wasted.

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 low-complexity notification tool with no output schema, the description covers trigger, side effect, what the owner sees, card lifecycle, the alternative tool, and the shared-connection key requirement. An agent has everything it needs to call this correctly and in the right order.

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; the description still adds meaning by framing 'what' as the thing the owner will be asked to confirm and reinforcing that agent_key is the caller's own identity in every call. The chat_id semantics are left to the schema, so it is above baseline but not exhaustive.

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 action (notify the owner that a step is waiting in the agent's own app) with a precise trigger point ('right before a step your own app will make your owner confirm there'). It explicitly contrasts itself with request_approval, so an agent can pick between the two without opening either 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?

Gives explicit when-to-use ('right before a step your own app will make your owner confirm'), when-not/alternative ('For approvals your owner can give in AgentMsgr itself, use request_approval instead'), and call ordering ('Then do the step'). It even covers lifecycle ('Your next message in the chat clears the card') and the shared-connection caveat about agent_key.

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.