Skip to main content
Glama

Dhamma.Gift — Pāli Canon

list_structure

What texts exist. Without arguments: collections (sutta/vinaya/abhidhamma/khuddaka), books by id prefix with sutta counts, and translation languages with translators. With prefix (e.g. "mn", "sn56", "an4"): the suttas under it with titles.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
prefixNoSutta id prefix such as mn, sn56, an4, dhp. Max 200 suttas are listed.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / prefix / maxLength
      Added value: +100
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description bears the full disclosure burden. It delivers the most important behavioral fact an agent needs — the different payloads for the zero-argument vs prefix modes — but says nothing about truncation (the 200-sutta cap lives only in the schema), ordering, or explicitly that this is a non-mutating read. Useful, but not a substitute for the annotation coverage that is absent.

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?

Two sentences, zero filler, with the no-argument behavior front-loaded and the argument behavior following in parallel structure. Every clause carries distinct information, and the parenthetical examples are compact rather than verbose.

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?

For a single optional-parameter discovery tool with no output schema, the description covers both invocation modes and their return shapes well enough to call it correctly. The only shortfall is that the listing cap and any ordering of results are left entirely to the schema rather than being surfaced in prose.

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 100%: the single 'prefix' parameter already documents its format and the 200-sutta listing cap. The description restates the prefix concept and reiterates the same examples, adding only the note that matching suttas are returned with titles, which is marginal meaning beyond the schema.

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 goes beyond the abstract name 'list_structure' by spelling out exactly what is enumerated in each mode: collections (sutta/vinaya/abhidhamma/khuddaka), books by id prefix with sutta counts, translation languages with translators, or suttas with titles under a prefix. That makes it clearly a hierarchical browsing/list tool, distinguishable from get_text and search. The opening fragment 'What texts exist' is vague on its own but is immediately disambiguated.

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?

It implicitly tells the agent when to omit the argument (broad overview) and when to supply a prefix (drill into a specific id range, with concrete examples like 'mn', 'sn56', 'an4'). However, it never names alternatives such as search for keyword lookup or get_text for fetching content, so the agent must infer the boundary itself.

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.