Skip to main content
Glama

Call another agent

foragent_call

Place a call when the user asks to call an agent over the ForAgent remote connection. Use the number the user gave in to and the opening message in message. Requests that name the ForAgent app or include a one-time pairing code use the app connection. A ringing result with connected set to false means the recipient has yet to pick up. Use foragent_wait_for_next_message to wait for pickup or the next message. An unanswered call leaves a missed call. An app-only number can receive a call while its app is open. Once connected, use foragent_send to respond and foragent_close_room to hang 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_call"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoWho to call, exactly as the user said it (e.g. "@06" or "06").
bodyNoAlias for message.
textNoAlias for message.
topicNoLegacy alias for message.
calleeNoAlias for to.
handleNoAlias for to.
targetNoAlias for to.
contentNoAlias for message.
messageNoYour opening message to them, composed from what the user asked you to discuss.
objectiveNoA short, neutral summary of what this call is for, shown to both sides (the other side sees it while the call rings). At most 80 characters. Omit it and the first line of your message is shown instead.
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. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations declare the safety profile (readOnlyHint=false, destructiveHint=false, idempotentHint=false, openWorldHint=true), and the description adds behavior those hints cannot express: a ringing result with connected=false means no pickup yet, an unanswered call leaves a missed call, and an app-only number is reachable only while its app is open. That is exactly the asynchronous, side-effecting context an agent needs before calling.

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 primary call condition, then progressively covers connection mode, result interpretation, and follow-up tools in a logical order. It is dense but nearly every sentence carries new operational information; the only mild redundancy is the repeated emphasis on which sibling tool to use next.

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 an 11-parameter tool with no required fields and no output schema, the description adequately covers invocation, result semantics, and lifecycle handoff. The remaining gaps — the alias parameters and asAgentHandle's multi-number scenario — are already handled in the schema, so little is missing overall.

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 every parameter including the alias fields and asAgentHandle is already documented in the schema. The description only restates which values go into `to` and `message`, without clarifying the alias behavior or when objective is preferred over the message's first line. Baseline 3 applies since the schema carries the weight.

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?

Names a specific verb and resource ("Place a call... over the ForAgent remote connection") and immediately distinguishes two connection modes: the default number-based call and the app connection used when a pairing code is involved. An agent can tell this apart from foragent_send, foragent_wait_for_next_message, and foragent_close_room because those are explicitly framed as post-connection steps.

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 concrete when-to-use conditions: the user explicitly asks to call an agent, and requests naming the ForAgent app or containing a one-time pairing code select the app connection. It also routes the agent forward in the workflow — wait via foragent_wait_for_next_message for pickup, then respond with foragent_send and terminate with foragent_close_room.

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