Skip to main content
Glama

ask

Ask the agent. Full pipeline (schema, queries, analysis). Sync within deadline_seconds; else {status:pending,job_id} — poll request_status/read_response. Pass a stable thread id (UUID) on every call for conversation context.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
roleNoOptional role override; defaults to admin for MCP callers.
agentNoBundle name. Inferred from the Host header when missing.
threadNoPersistent conversation id. Either `thread` or the legacy `thread_id` alias must be set.
messageNoUser prompt for the agent. Either `message` or the legacy `question` alias must be set.
questionNoLegacy apples-compat alias for `message`. Ignored when `message` is set.
thread_idNoLegacy apples-compat alias for `thread`. Ignored when `thread` is set.
deadline_secondsNoSynchronous wait budget. Default 240.

TDQS

A4.6/5.0
Behavior5/5

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

Annotations lack behavioral details (only readOnlyHint, idempotentHint, destructiveHint). Description adds critical behavioral traits: sync/async pipeline, timeout handling, and return format {status:pending, job_id}. No contradiction with annotations.

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?

Three sentences, front-loaded with core action. Every sentence serves a purpose: define tool, explain sync/async, emphasize thread requirement. No redundant or verbose phrasing.

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?

Given 7 parameters, no output schema, and annotations present, the description covers overall behavior, sync/async, and threading. Could briefly describe what 'Full pipeline' entails, but the essential context for using the tool is present. Minor gap in explaining default behavior if deadline_seconds not set.

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?

Input schema has 100% coverage, so baseline 3. Description adds some context like 'Pass a stable thread id (UUID)' but largely repeats schema descriptions (e.g., role override, thread alias). Does not significantly enhance parameter understanding beyond schema.

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?

Description starts with 'Ask the agent' which clearly states the action and resource. It elaborates with 'Full pipeline (schema, queries, analysis)' and differentiates from sibling tools (help, read_response, request_status) by mentioning sync/async behavior and polling mechanism.

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?

Explicitly tells when to use synchronous vs asynchronous mode based on deadline_seconds, and instructs to poll request_status/read_response for pending jobs. Also specifies to pass a stable thread id for conversation context.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool has a clear, distinct purpose: ask initiates a query job, help provides orientation, read_response streams job output, and request_status checks job progress. No overlap or ambiguity.

Naming Consistency5/5

All tool names follow a consistent pattern: single verbs (ask, help) and verb_noun combinations (read_response, request_status), all lowercase with underscores for multi-word names.

Tool Count5/5

With 4 tools covering the core workflow of asking questions and retrieving responses asynchronously, the count is well-scoped and appropriate for the server's purpose.

Completeness5/5

The tool surface fully covers the expected lifecycle: initiate a job (ask), check its status (request_status), and retrieve the result (read_response), plus help. No obvious gaps given the domain.

Resources