Skip to main content
Glama

Dharma Sources

Search Buddhist sources

search
Read-onlyIdempotent

Search authoritative Buddhist text archives for works and passages. Returns ids to pass to fetch. A snippet is included only where the licence allows verbatim reuse.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryYesWords or a phrase to look for
sourcesNoRestrict to these source ids (see `list_sources`); omit for all
languageNoLanguage code of the translations to search, for example en, de, plien

Output Schema

NameRequiredDescriptionDefault
resultsYes
unavailableYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower. The description still adds real value by disclosing that only ids are returned and that snippets appear only where licensing permits verbatim reuse — a behavioral constraint an agent cannot infer from the schema or annotations.

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 with no waste; the purpose is front-loaded, followed by the return contract and then the licensing caveat. Nothing is repeated from the schema or annotations.

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 an output schema present, the description need not explain return values, and annotations cover the safety profile. It covers purpose, downstream handoff, and the snippet limitation; only ranking or result-ordering behavior is left unstated, which is a minor gap for a search tool.

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 75%, so most parameters are already documented (query, sources via `list_sources`, language with examples). The description adds no further parameter meaning such as default limit behavior or how multiple sources combine, so it stays at the baseline for high-coverage schemas.

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 gives a specific verb and resource ('Search authoritative Buddhist text archives for works and passages') and clarifies the output contract ('Returns ids to pass to `fetch`'), which distinguishes it from the downstream fetch tool. It does not contrast with siblings like `resolve_work` or `list_sources`, so sibling differentiation is only partial.

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?

Usage is implied rather than stated: the agent learns that results feed `fetch` and that `sources` comes from `list_sources`, which sketches a workflow. There is no explicit when-to-use or when-not-to-use guidance relative to `resolve_work` or direct fetching.

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.