Skip to main content
Glama

Jiaoren — ask your human on WeChat

Ask your human and wait for the answer

ask

Ask your human a question on their phone (WeChat or email) and wait for the answer. Use it for approvals before risky or irreversible actions, choosing between options, or information only the human has. Never ask for passwords or secrets. Waits up to wait_seconds (default 120, max 290); if there is no answer yet it returns status "sent" with an id — keep working on something else and call get_reply later. 向主人提问并等待回复(可给选项)。

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": {
      "question": "<question>"
    },
    "name": "ask"
  }
}

Input Schema

NameRequiredDescriptionDefault
detailsNoContext the human needs to answer: what you did, what you propose, risks
optionsNoChoices for a single-choice answer, e.g. ["Approve", "Reject"]. The human can still add a free-text note.
questionYesThe question, short (shown in the push notification)
questionsNoAdvanced: a small form with several questions (overrides options)
wait_secondsNoHow long to block waiting for the answer (default 120)

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?

Beyond the annotations (readOnlyHint=false, openWorldHint=true), the description discloses the non-obvious behavior that drives correct use: the call blocks up to wait_seconds (default 120, hard max 290) and may return status 'sent' with an id rather than an answer. That timeout/async contract is the main misuse risk and it is spelled out, along with the delivery channel and the secrets restriction.

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 action and delivery channel, then usage, then the timeout caveat — a sensible escalation. Dense but every clause is doing work; the only soft spot is the trailing Chinese sentence, which largely duplicates the English for a bilingual audience.

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 a 5-parameter tool with no output schema, the definition covers the blocking contract, the failure/timeout path, the follow-up tool, and the safety policy, which is most of what an agent needs. The one gap is the shape of a successful answer (what comes back when the human does reply), which is only implied by the contrast with the 'sent' status.

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 coverage is 100%, so the baseline applies and every parameter is already documented in the schema. The description does add real meaning for wait_seconds by explaining the consequence of the timeout (status 'sent' plus an id, then poll get_reply), but options, questions and details carry no added semantics beyond their schema descriptions.

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 concrete verb+resource+channel: ask the human a question on their phone via WeChat or email and block for the answer. It also names the sibling it hands off to (get_reply) when the wait times out, so an agent can distinguish the blocking ask from the polling tool.

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 triggers (approvals before risky or irreversible actions, choosing between options, information only the human has) and an explicit prohibition (never ask for passwords or secrets). It also tells the agent what to do on the no-answer path: keep working and call get_reply later.

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.