Skip to main content
Glama

Collect an async AI search

get_ai_search_result
Read-onlyIdempotent

Status of an AI-search job from ai_search_projects. While queued or running, returns progress only. When complete, returns a page of project details. limit is required, with the same cap as get_projects. Records in a finished job were already counted toward the export cap when the job settled. Does not use credits. get_credit_balance returns the remaining balance. create_export queues a CSV of a large completed set.

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": {
      "jobId": "<jobId>",
      "limit": "<limit>"
    },
    "name": "get_ai_search_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesFrom an async AI-search submission.
limitYesRequired. Number of records to return, 1-25. Each new or changed record counts toward 100,000 export records a month. An unchanged record already delivered does not.
offsetNoPage into a completed job's data array.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses important behavior: the job-state-dependent return values, export-cap accounting semantics, the fact that the call does not consume credits, and where to check credit balance. These details materially help an agent understand side effects and billing implications.

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?

The description is front-loaded with the job-status behavior and remains generally efficient. It includes a few sentences that are only marginally necessary for invocation, such as the get_credit_balance reference, but overall it avoids bloat.

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 read-only async job collection tool with no output schema, the description covers the important return states, cap accounting, credit behavior, and an alternative for large exports. It could mention how failed or cancelled jobs behave, but the core invocation context is complete.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description adds meaningful context about limit being required and sharing the same cap as get_projects, plus the nuance that records in a finished job were already counted when the job settled.

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?

The description clearly states that this tool reports the status of an AI-search job and returns progress or a page of project details. It distinguishes the job-status role from sibling actions like create_export and get_credit_balance, though it could more explicitly contrast with ai_search_projects.

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?

It explains the key use context: poll while queued or running for progress, and call when complete for project details. It also points to create_export for large completed sets, but stops short of fully explicit when-not-to-use guidance.

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