Skip to main content
Glama

Search Agent Reliability

search
Read-onlyIdempotent

Full-text search over the knowledge graph. Matching ignores accents and apostrophes, so query in the user's own words; every hit carries the fields it matched and a score. Text match, weighted by where the token hits (name 3, tags 2, content 1 per query token), plus a centrality bonus of up to 0.9 for objects that other objects point at. That bonus is why two hits can share matched_fields and still score differently: the decimal is inbound edges, not text relevance. Use this whenever you have a question rather than an id, then follow up with get_entity.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoHow many ranked hits to return, best first.
queryYesWhat to look for, in the user's own words. Matched against titles, questions, claim text and tags; accents and apostrophes are ignored, so 'jose' finds 'José'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
totalYes
resultsYes

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnly, idempotent, and non-destructive behavior, and the description adds substantial context: accent/apostrophe matching, per-field token weights, the centrality bonus, and why identical matched_fields can yield different scores. This goes well beyond what annotations provide.

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?

The description is dense but every sentence earns its place: purpose, matching behavior, scoring mechanics, and usage guidance are all present without redundancy. The critical usage guidance is placed near the end but clearly stated, and the overall length is appropriate for the tool's complexity.

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

Completeness5/5

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

For a read-only search tool with an output schema and only two well-documented parameters, the description is fully sufficient. It explains how queries are matched, how results are ranked, what the score means, and when to use the tool, leaving no significant gap for an agent to call it incorrectly.

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 useful nuance about querying in the user's own words and how hits are scored, and it reinforces the accent-ignoring behavior already present in the schema. It enriches the query semantics without needing to restate the full schema.

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 ('Full-text search over the knowledge graph') and separates itself from id-based lookup by telling the agent to use it when there is a question rather than an id. This clearly distinguishes it from siblings like get_entity.

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?

Explicitly says when to use this tool: 'Use this whenever you have a question rather than an id', and even names the follow-up tool get_entity. This is direct, actionable guidance that leaves no ambiguity about the primary use case.

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.

TDQS

A4.6/5.0
Disambiguation5/5

Each tool targets a distinct retrieval mode: question answering, text search, entity fetch, topic browse, related traversal, source inspection, freshness, and corpus overview. The descriptions explicitly contrast overlapping pairs like answer vs search and get_topic vs search, so an agent can reliably choose.

Naming Consistency4/5

The dominant get_<noun> pattern is clear and consistent for six of eight tools, while answer and search are plain verbs that still convey their action. This is a minor deviation rather than a mixed convention.

Tool Count5/5

Eight tools is well within the ideal range for a knowledge-corpus query server. Each tool covers a distinct retrieval need with no redundancy or bloat.

Completeness5/5

The read-side lifecycle is complete: discover via overview, search, answer, topic, and latest; drill in via entity and related; and verify via sources. The descriptions explicitly handle misses with near-miss ids and existing topics, so agents are not left at dead ends.