Skip to main content
Glama

search_docs

Read-onlyIdempotent

Full-text search over the official AGILEX product documentation.

    Use this first for any question about AGILEX hardware: pinouts, CAN
    protocol details, baud rate, firmware upgrade, error codes, LED/beep
    meanings, installation, calibration, SDK usage.

    Args:
        query: Chinese or English keywords. Include the product name
            (piper / pika / nero / ranger / limo / scout / bunker / hunter /
            tracer / umr) plus the concept, e.g. "piper CAN 波特率".
        limit: 1-25 results, default 8.
        space: optional space slug or name fragment to narrow the search,
            e.g. "agx-chassis-manual-cn-en" or "底盘使用手册".

    Returns JSON: {query, count, results:[{doc_id,title,space,url,score,chars,snippet}]}.
    ``count`` is the number of results in this reply (0-``limit``). A result
    whose title carries 【未发】/【暂不对外】 includes ``status_note``.
    ``doc_id`` is what ``get_doc`` expects.
    

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": {
      "query": "<query>"
    },
    "name": "search_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYes
spaceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / limit / maximum
      Added value: +25
    • addedInput schema / properties / limit / minimum
      Added value: +1
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare the safe read-only, idempotent, closed-world profile, so the description is free to add value elsewhere and does: it documents the JSON envelope, explains that count is per-reply and capped at limit, and warns that some titles carry a status_note marking restricted documents. The remaining gap is minor (no note on empty-result behavior beyond count=0).

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?

Front-loads purpose and the "use this first" directive before the parameter and return detail, and every section maps to something an agent needs. The indented Args/Returns blocks are slightly verbose but function as scannable structure rather than filler.

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?

Complete for a three-parameter search tool: intent, trigger topics, per-parameter syntax with examples, result shape, count semantics, restricted-document handling, and the handoff key (doc_id) to get_doc are all covered. Nothing required to call it correctly is left to inference.

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?

With 0% schema description coverage the description must carry all parameter meaning, and it does for query (Chinese or English keywords, must include the product name from an enumerated list, with a worked example) and space (slug or name-fragment with two examples). The limit entry only restates the schema's 1-25 / default 8 constraints, which is the one place it adds nothing new.

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 official AGILEX product documentation") and immediately scopes the domain to AGILEX hardware topics. The "Use this first" framing plus the pointer that doc_id feeds get_doc separates it from the find_in_doc/get_doc/list_docs siblings without needing their schemas.

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?

Enumerates concrete trigger topics (pinouts, CAN protocol, baud rate, firmware upgrade, error codes, LED/beep meanings, calibration, SDK usage) and explicitly says to try this tool first. It lacks an explicit when-not branch or named fallback such as find_in_doc for exact phrase matching, so the routing story is clear but not exhaustive.

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.