Skip to main content
Glama

read_wiki

Read-only

Read a module's wiki page to get its purpose, key symbols, dependencies, and dependents, plus freshness and citations; omit the page name to list pages.

Instructions

What does this module do? Reads the tool's wiki page about a module (a directory of indexed code): its purpose, its key symbols with one line each, the modules it depends on and the modules that use it. Use it when a question is about a module as a whole rather than one function, or after search_code returns a hit of kind page. Pass page to read one page; it returns the text, whether it is fresh or stale (and what made it stale), when and by what it was compiled, and its citations, each with the repository, path and line range of the symbol or file it names. Omit page to list the pages, optionally for one repo, with each page's name, state and first purpose line. A stale page describes code that has changed since; check its citations. Next step: get_symbol on a key symbol to read its source.

Input Schema

NameRequiredDescriptionDefault
pageNoThe page name, for example flask/json, as returned by search_code or by listing. Case-sensitive. Default: list the pages instead.
repoNoLook only in this registered repository, for example flask. list_repositories gives the valid names. Needed when two repositories have a page of the same name. Default: all repositories.

Output Schema

NameRequiredDescriptionDefault
pageNo
pagesNo
reasonYes
statusYes
truncatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.4.2

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true, so the description carries most of the burden and delivers real operational context: pages can be fresh or stale, what made them stale, and that a stale page describes code that has changed and its citations should be checked. It also discloses the citation payload shape (repository, path, line range). Some of the return detail overlaps the existing output schema rather than adding new behavioral information, which keeps it just below the top score.

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?

Purpose is front-loaded, then read-mode behavior, then list-mode behavior, then next step — a logical order with each sentence doing work. It is longer than necessary for a two-parameter tool, and the return-value paragraph partly duplicates the output schema, but nothing is filler.

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?

For a read-only lookup tool with full schema coverage, annotations and an output schema, the description supplies everything an agent needs to choose it, pick a mode, and interpret staleness. The one remaining gap — pagination or size limits on listings — is minor and not implied by the schema.

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 baseline is 3; the description goes beyond the schema by framing the two modes (pass page to read one page, omit it to list) and by stating that listing can be scoped to one repo with name, state and first purpose line. It adds no syntax or format nuance beyond what the parameter descriptions already say, so it sits modestly above baseline.

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 ("Reads the tool's wiki page about a module") and immediately glosses the resource ("a directory of indexed code") so the domain concept is unambiguous. It also distinguishes the tool from its nearest sibling: use it for a module as a whole "rather than one function" (get_symbol), which lets an agent route correctly 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 an explicit trigger (question about a module as a whole, or after search_code returns a hit of kind page), an explicit alternative (get_symbol for a single symbol), and a prescribed next step (get_symbol on a key symbol). The omit-page-versus-pass-page branch is stated in prose, so both invocation modes are covered.

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