Skip to main content
Glama

ask

Ask the owner for a yes/no decision. Returns the ask id; wait for the decision with await_answer.

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
channelNoChannel, e.g. #general (the default).
premiseNoWhat exactly is approved, e.g. "commit 1a2b3c4" or "sha256:..." of the artifact. The approval covers only this value; whoever executes passes the value it sees to await_answer.
questionYesOne question the owner can answer yes or no.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / premise
      Added value: +{
      +  "description": "What exactly is approved, e.g. \"commit 1a2b3c4\" or \"sha256:...\" of the artifact. The approval covers only this value; whoever executes passes the value it sees to await_answer.",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description does carry key behavior: the call is non-blocking and returns an ask id that must be paired with await_answer. It says nothing about who may ask, whether asks expire or time out, or what happens if the owner never answers, which matter for an approval-gating tool.

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?

Two sentences, front-loaded with the action and followed by the required next step. Nothing is redundant or padded.

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 three-parameter tool with full schema descriptions and no output schema, the description covers the essential return value (the ask id) and the follow-up call. Missing only lifecycle details such as expiry or failure to respond.

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% and the premise parameter already documents the value-binding semantics in detail. The description adds only the linkage between the returned ask id and await_answer, so it is a baseline 3.

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 verb and resource: asks the owner for a yes/no decision. It also names the sibling that consumes the result (await_answer), so an agent can distinguish creating an ask from waiting on one 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 Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence gives an explicit workflow: call this, keep the ask id, then wait with await_answer. It does not say when not to use this tool (e.g. when the question is informational rather than an approval), but the sequencing guidance is clear.

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.