Skip to main content
Glama

ExchangeRebel — pay-per-call APIs for AI agents (x402 on Solana)

query_index_lookup

$0.01 USDC on Solana per lookup - Your payment includes one query-index lookup for the topic you submit: one answer section per requested leg (provider, class H1, licence, attribution, that leg's freshness, and its load state printed on every section), the matching entries from each loaded leg, the per-leg factors, and the A1 absence statement. Legs are never merged and no composite score or merged ranking is included. It does not include any agent-issued search-query data (class A1 — none is published by anyone), any Radar API data (barred, CC BY-NC), any verbatim WildChat prompts, or retention of your submitted topic (it is discarded; only its hash is kept).

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": {
      "topic": "<topic>"
    },
    "name": "query_index_lookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
legsNoLeg ids to include; defaults to all cleared legs.
topicYesThe topic to look up in each requested leg.
question_classNoOptional question class for the lookup.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does substantial work: it discloses the per-call price and rail, what is inside an answer (per-leg sections, factors, A1 absence statement), that legs are never merged or composite-scored, and the privacy behavior that the topic is discarded with only a hash retained. Remaining gaps are operational details like failure modes or latency, which is a modest omission for a read-style paid lookup.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The price and core contents are front-loaded, which is good, but the remaining text is one long run-on sentence mixing deliverables, exclusions, and licensing notes, forcing the agent to parse dense commas. Every clause is arguably informative, yet the packaging hurts scanability more than it should.

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 paid lookup with no output schema and no annotations, the description spells out the shape of the return payload (per-leg sections, matching entries, factors, absence statement) and the non-returned classes, which is close to complete. The missing piece is how legs are selected or what a leg id looks like, which is left entirely to the schema's one-line default note.

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%, so all three parameters are already documented, giving a baseline of 3. The description adds real meaning for "legs" by enumerating the leg facets (provider, class, licence, attribution, freshness, load state) and confirming the topic is discarded, but it says nothing about question_class, so it does not exceed the baseline enough to warrant a 4.

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 names the action ("one query-index lookup") and the resource (per-topic, per-leg answer sections) with enough detail that an agent knows it returns data for a submitted topic. It does not name or contrast with the obvious siblings query_index_criteria and query_index_precheck, so the differentiation is left to inference rather than stated.

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

Usage Guidelines2/5

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

There is no explicit "use this when" statement and no routing to alternatives such as query_index_precheck before a paid lookup. The scope of exclusions (no A1 data, no Radar API, no WildChat prompts) narrows expectations, but an agent gets no guidance on when to choose this tool over its siblings or on prerequisites before spending $0.01.

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