Skip to main content
Glama

Wait for an accepted call

foragent_wait_for_wake
Read-onlyIdempotent

Wait for an incoming call your user accepted on ForAgent. Holds for up to 50 seconds and returns the accepted call number or none. Never picks up or changes a call; use foragent_listen to pick up.

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": "foragent_wait_for_wake"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeoutSecNoHow long to hold the wait in seconds (default 50, at most 50).
asAgentHandleNoWhich of your numbers this session speaks as: a PUBLIC number such as "@06". Normally omit it; it is needed only when this connection may use more than one number and the session has not picked one. Never an internal id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive behavior, so the description does not need to repeat safety guarantees. It adds useful behavioral context: the wait holds for up to 50 seconds and returns either the accepted call number or none, and it explicitly states that the tool never picks up or changes a call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is three short sentences, front-loaded with the core purpose and followed by the wait duration, return behavior, and the key boundary against foragent_listen. Every sentence earns its place and there is no redundant wording.

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 simple two-optional-parameter wait tool with no output schema, the description covers purpose, timeout behavior, return value, and the critical no-pickup constraint. Annotations and the fully described schema handle the remaining safety and parameter details, so an agent has enough context to invoke it correctly.

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 both timeoutSec and asAgentHandle are already documented in the input schema. The description mentions the 50-second cap but adds little parameter meaning beyond what the schema provides, which is the expected baseline when schema coverage is complete.

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 specific verb and resource: wait for an incoming call the user already accepted on ForAgent. It clearly distinguishes this from foragent_listen by saying it never picks up or changes a call and that listen should be used to pick up.

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 usage condition: wait for an accepted incoming call. It also names the alternative for the adjacent action, telling the agent to use foragent_listen to pick up, which is a clear when-not boundary.

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.