Skip to main content
Glama

Browse a work in order

browse_work
Read-only

Walk a work's structure in order: a work gives its sections, a section its chapters, a chapter its verses (label and translation, in pages). Use it when the user wants to read a chapter or a book through, asks what comes after a verse, or what a book contains; search_texts cannot do that.

Three steps, each named in the reply of the one before: work alone lists the sections; add section for its chapters; add chapter (the index from the listing) for its verses. Every reply carries next, the arguments of the call that continues. To quote a verse, call get_verse with its unit_id: it returns the citation and version hash.

Input Schema

NameRequiredDescriptionDefault
pageNoWhich page of a section's chapters. Default 1.
workYesA work slug, as list_works gives it.
limitNoVerses per page. Default 20, at most 50.
offsetNoWhere in the chapter to start, counting verses from 0. Default 0.
chapterNoThe chapter's `index` in the section's listing; it opens that chapter's verses.
sectionNoA section slug from the work's listing (a parva, a canto, an upaniṣad).
languageNoPreferred language of the translations returned. Not a filter: works that exist only in Russian are returned in Russian, and each result says which language it is actually in. Default: en.
page_sizeNoChapters per page. Default 50, at most 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint and closed-world, so safety is covered; the description goes further by disclosing the reply contract (`next` carries the arguments for the continuation call) and the language behavior (not a filter, results report their actual language). It also routes verse quoting to get_verse via `unit_id`, which is behavior an agent could not infer from the schema.

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?

Front-loaded with purpose, then the when-to-use clause, then the three-step procedure, then the handoff to get_verse. Every sentence carries distinct information; no filler or restatement of the name.

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?

Eight parameters and no output schema would normally be a gap, but the description supplies the missing return-value contract (`next`, labels and translations, paging) and the stepwise invocation model. An agent can drive the full browse sequence from this text alone.

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 each parameter is already documented; the description adds the compositional semantics the schema lacks — which parameters belong to which of the three steps and that `chapter` must be the `index` from the previous listing. It does not restate pagination semantics, but the schema handles those adequately.

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 ("Walk a work's structure in order") and immediately concretizes the hierarchy: work -> sections -> chapters -> verses. It also explicitly contrasts itself with search_texts, so an agent can choose between browsing and searching without opening either schema.

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

Usage Guidelines5/5

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

Gives concrete triggering situations (reading a chapter or book through, asking what follows a verse, asking what a book contains) and names the alternative that cannot serve them ("search_texts cannot do that"). It also prescribes exact escalation: `work` alone, then `section`, then `chapter` with the `index`.

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