Skip to main content
Glama

Bondren Documentation

Search Bondren documentation

search_docs
Read-onlyIdempotent

Search the Bondren public docs corpus for ranked sections matching a query. Limit defaults to 5, and the ranked result set is the top 10 matching sections. Returns GA and preview results by default; planned content is excluded unless include_planned is true. Each item carries its canonical URL, content hash, maturity, effective availability, and last-reviewed date. Pass page_info.next_cursor as cursor; stop only when page_info.has_more is false.

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
limitNoMaximum number of items to return (1-100).
queryYesthe user's docs question or keywords; required
cursorNoOpaque continuation cursor returned by the previous page.
include_plannedNoinclude maturity=planned sections (excluded by default); optional

Output Schema

NameRequiredDescriptionDefault
itemsYes
queryYesthe normalized query these items answer
page_infoYes
content_revisionYesimmutable content revision of the corpus backing this result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), yet the description still adds real behavior: default limit of 5, a ranked set capped at the top 10, planned content excluded by default, and how to continue paging. The one wrinkle is that a limit up to 100 sits in tension with a 'top 10' ranked set, which the description does not reconcile.

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?

Five tight sentences, front-loaded with what the tool does, then defaults, filtering, item shape, and pagination in the order an agent would need them. No filler or repetition.

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?

With annotations, a full-coverage schema, and an output schema present, the description covers nearly everything needed: filtering defaults, result-set size, and pagination termination. The enumeration of returned fields is redundant against the output schema, and the limit/ranked-set cap tension is left unresolved.

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, but the description adds meaning the schema lacks: the default limit of 5 and the fact that cursor is exactly page_info.next_cursor from the prior response. The include_planned explanation largely restates the schema wording, keeping it from a 5.

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?

States a specific verb and resource: 'Search the Bondren public docs corpus for ranked sections matching a query.' The scope (public docs corpus, ranked sections) is unambiguous, but nothing in the text distinguishes it from the sibling get_doc, so an agent must infer that get_doc fetches a single document while this one searches.

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

Usage Guidelines3/5

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

Gives operational guidance on pagination ('stop only when page_info.has_more is false') and on maturity filtering, but never states when to prefer this over get_doc or when a search is the wrong approach. The usage context is implied by 'the user's docs question or keywords' rather than asserted.

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