Skip to main content
Glama

PromptVault

Get ask_documents result

get_task_result
Read-onlyIdempotent

Premium. Returns the answer of an ask_documents call that was still running, or says it is still working.

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": {
      "task_id": "<task_id>"
    },
    "name": "get_task_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive, and closed-world, so safety is covered. The description adds two genuinely new facts beyond them: the result may be a non-terminal 'still working' response, and the tool is gated behind a premium entitlement. It omits error behavior for an invalid or expired task_id and whether results persist after retrieval.

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?

Two short sentences with the outcome and the pending case front-loaded; nothing is padded. The leading 'Premium.' fragment is terse but conveys an entitlement gate efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, read-only polling tool with rich annotations and no output schema, the description covers the essentials of what comes back. It falls short on the practical details an agent needs to recover from a bad task_id or to know how long a result remains retrievable.

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

Parameters2/5

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

Schema description coverage is 0%, so the description carries the full burden for the single task_id parameter, yet it never explains that task_id is the handle returned by the originating ask_documents call or what format it takes. The link to an ask_documents call is only implicit, leaving the parameter's origin and validity rules unclear.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: it returns the answer produced by an ask_documents call, and explicitly covers the non-terminal case where the call is still running. That makes the tool's job distinguishable from ask_documents itself, though the description never says outright that this is the polling counterpart to that sibling.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied by the phrase 'an ask_documents call that was still running' — an agent can infer this is for polling a deferred task. There is no explicit when-to-use rule, no guidance on re-polling cadence or when to stop, and no statement about what to do instead if the task is unknown or expired.

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