Skip to main content
Glama
aidevksh
by aidevksh

Ask the user and wait for a reply

ask

Send a message to the user's phone and wait for their reply, using their response as the next instruction.

Instructions

Push a message to the user's phone and then block until they reply, returning their reply text. Use it instead of ending your turn when the user is away from the terminal and you need their next instruction or a decision. Treat the returned text as the user's next instruction. Replies sent before this call are ignored.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
messageYesWhat to send. State what you did and what you need from the user, since they answer from a phone.
timeout_secondsNoHow long to wait for a reply (default 240).

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior4/5

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

The description explains the blocking behavior, return value, and the handling of old replies. However, it does not specify what happens when the optional timeout_seconds elapses (e.g., returns null, errors, or continues waiting), which is a minor gap in behavioral disclosure.

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 concise and well-structured, providing necessary detail without redundancy. It efficiently conveys the core action, usage, and behavioral nuances in three sentences.

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?

Despite lacking an output schema, the description specifies the return value (reply text) and the blocking nature. It also gives usage context and a behavioral caveat, making it sufficiently complete for an agent to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters (message and timeout_seconds) are fully described in the schema, with clear explanations of their purpose and default. The description reinforces the meaning of 'message' and the timeout parameter is explained as the wait duration, so there is no ambiguity.

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 clearly states the tool pushes a message, blocks for a reply, and returns the reply text. It differentiates from the sibling tool 'notify' by explicitly describing the blocking/reply behavior, so an agent can distinguish when to use 'ask' versus 'notify'.

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 explicitly says to use it instead of ending the turn when the user is away and a decision/instruction is needed, and notes that pre-existing replies are ignored. This gives clear when-to-use and when-not-to-use guidance, fully covering usage context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aidevksh/EchoLoopMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server