Skip to main content
Glama

AI Search

ai-search
Read-only

AI Search over X (Twitter) posts and web (from the Desearch index), with an optional AI summary. Web results are capped at 20 per request. For web-only search, use search-api.

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": {
      "prompt": "<prompt>"
    },
    "name": "ai-search"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoModel to use for the search: NOVA (default) or ORBIT.NOVA
toolsNoSource ids sent to POST /desearch/ai/search. Short ids: 'web', 'twitter', 'arxiv', 'wikipedia', 'hackernews', 'reddit'. Legacy labels such as 'Web Search', 'ArXiv Search', 'Wikipedia Search', 'Hacker News Search', and 'Reddit Search' are rewritten to those ids. Example: ['web', 'twitter'].
promptYesQuestion, example: 'What is the latest news on AI?'
end_dateNoEnd of the date range in UTC (YYYY-MM-DDTHH:MM:SSZ). Use with start_date.
start_dateNoStart of the date range in UTC (YYYY-MM-DDTHH:MM:SSZ). Use with end_date.
date_filterNoDeprecated relative window; prefer start_date/end_date. Example: 'PAST_WEEK'
result_typeNoONLY_LINKS returns links only; LINKS_WITH_FINAL_SUMMARY adds an AI summary. Link arrays are kept under whichever key the API uses, along with billing fields. ONLY_LINKS still depends on the API to include those links.
exclude_domainsNoDrop Web Search results from these domains, example: ['pinterest.com']
include_domainsNoRestrict Web Search results to these domains, example: ['bbc.com', 'reuters.com']

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / tools / description
      Previous value: -"Source ids sent to POST /desearch/ai/search. Use short ids such as 'web' and 'twitter'. Legacy labels such as 'Web Search' are accepted and rewritten to those ids. Example: ['web', 'twitter']."New value: +"Source ids sent to POST /desearch/ai/search. Short ids: 'web', 'twitter', 'arxiv', 'wikipedia', 'hackernews', 'reddit'. Legacy labels such as 'Web Search', 'ArXiv Search', 'Wikipedia Search', 'Hacker News Search', and 'Reddit Search' are rewritten to those ids. Example: ['web', 'twitter']."
    • changedInput schema / properties / tools / items / enum
      Previous value: -[
      -  "web",
      -  "twitter",
      -  "arxiv",
      -  "wikipedia",
      -  "youtube",
      -  "hackernews",
      -  "reddit"
      -]New value: +[
      +  "web",
      +  "twitter",
      +  "arxiv",
      +  "wikipedia",
      +  "hackernews",
      +  "reddit"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"Model to use for the search, example: 'NOVA', Nova is 10s model, Orbit is 30s model"New value: +"Model to use for the search: NOVA (default) or ORBIT."
  3. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, and destructiveHint=false, so safety is covered. The description adds a genuine operational constraint beyond that: web results are capped at 20 per request, and the summary is optional. It does not disclose cost/credit behavior, latency, or how the AI summary is produced, which is where the remaining gap lies.

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 capability, then a hard limit, then the sibling routing. No filler or duplicated schema content.

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 nine parameters but full schema coverage and rich annotations, the description covers sources, the web cap, the optional summary, and routing to a sibling. There is no output schema, so a brief note on the response shape, particularly how links and billing fields are returned, would have closed the last gap.

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 description coverage is 100%, so all nine parameters, including the model enum, tools ids, date fields, and result_type, are already documented in the schema. The description itself adds essentially no parameter-level meaning; it only restates the optional summary and the 20-result web cap.

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: an AI search over X posts and the Desearch web index, with an optional AI summary. It also names the sibling it is not (search-api) for web-only search, so an agent can distinguish this from that alternative without inspecting 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?

Gives an explicit exclusion with the alternative to use ('For web-only search, use search-api'), which is real routing guidance. It does not cover when to choose this over search, x-search, or web-search, so coverage of alternatives remains partial.

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.