Skip to main content
Glama
MegaSearch MCP

MegaSearch MCP

by ProDevs-Kol

search_async_result

Retrieve the full answer, sources, and metadata for a completed asynchronous search task using its task ID after status confirms completion.

Instructions

Get the result of a completed async search task. Only call this after search_async_status shows status='completed'. Returns the full answer with sources and metadata.

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": "search_async_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesThe task_id returned by search_start

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.5

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose two useful traits beyond the schema: the completed-status gate and the return contents ('full answer with sources and metadata'). However, it never says what happens if the call is made prematurely (error vs. partial result) or whether the result is retained, which matters for a task-polling workflow.

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 short sentences, front-loaded with the action, then the gating condition, then the return value. No filler and nothing redundant with the title.

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 one-parameter retrieval tool with no output schema, the description covers the action, the required prior state, and a sketch of the return payload. The only gap is failure behavior when invoked before completion, which is minor given the explicit gate.

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 single task_id parameter is already documented as 'The task_id returned by search_start.' The description adds only the precondition context, not new meaning about the parameter itself, so the baseline of 3 applies.

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: 'Get the result of a completed async search task.' It also implicitly distinguishes itself from the status-check sibling by referencing search_async_status, so an agent can tell the retrieval step apart from the polling step 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 Guidelines5/5

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

Gives an explicit prerequisite: 'Only call this after search_async_status shows status=\'completed\'.' This is both a when-to-use rule and an effective when-not rule, and it names the sibling that establishes the condition.

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