Skip to main content
Glama
avulaankith
by avulaankith

search_dhatus

Read-onlyIdempotent

Search Sanskrit dhātu headwords and meaning fields by literal query. Supports pagination for deterministic lexical lookup.

Instructions

Literal lexical search of upstream dhātu and meaning fields.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
queryYes
offsetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior3/5

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

The annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety is covered. The description does add one real behavioral fact: matching is literal/substring rather than semantic, and it scopes the searched fields. It says nothing about result ordering, total-count behavior, or what happens with noisy/multiword queries.

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?

A single front-loaded sentence with no padding; the matching mode and field scope come first. It is arguably under-specified rather than verbose, which is a completeness problem, not a structural one.

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

Completeness2/5

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

An output schema exists so return values need not be explained, but for a search tool sitting among eleven siblings with zero schema parameter coverage and no usage routing, the single sentence leaves too much to inference. Pagination params and the alternative retrieval tools are never addressed.

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 description coverage is 0%, so the description must carry the load; it partially does by stating that 'query' is matched against dhātu and meaning fields, which is the key semantic the schema omits. However, limit and offset (ranges, defaults, pagination interaction) get no mention, and match semantics (case sensitivity, whole-word vs substring) remain unstated.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

It names a verb (search) and a resource (dhātu) and signals the matching mode with 'literal lexical', which implies a contrast with relevance/semantic search over shabdas. But 'upstream dhātu and meaning fields' is unexplained jargon and it never names a sibling (get_dhatu, search_shabdas) to disambiguate scope.

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?

No when-to-use condition, no prerequisites, and no mention of alternatives such as get_dhatu for a known entry or search_shabdas for word lookup. 'Literal lexical' only weakly implies the contrast; the agent must infer routing from sibling names.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.