Skip to main content
Glama

codewiki_read_contents

Retrieve documentation from a GitHub repository's Google CodeWiki. Optionally specify a section title to get only that section's content, with pagination support for full wiki content.

Instructions

View documentation about a GitHub repository from Google CodeWiki.

Without section_title, returns the full wiki content (may be truncated). With section_title, returns just that section's content.

Use codewiki_read_structure first to see available sections.

Pagination (when section_title is empty):

  • offset — section index to start from (default 0).

  • limit — max sections per response (default 5). The response includes has_more and next_offset when more sections are available, so you can call again to continue.

Response size: 2–10 KB per section, 5–30 KB for paginated full page. Cached for 5 minutes — repeated calls are instant.

Rate limit: max 10 calls per 60 s per repo URL. Duplicate concurrent calls are automatically deduplicated.

Args: repo_url: Full repository URL (e.g. https://github.com/facebook/react) or shorthand owner/repo (e.g. facebook/react). Bare keywords (e.g. 'react') are auto-resolved with interactive disambiguation. section_title: Optional. Title (or partial title) of a specific section to retrieve. If empty, returns the full wiki. offset: Section index to start from (0-based, default 0). limit: Maximum sections to return (default 5, max 50).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
repo_urlYes
section_titleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

With no annotations, the description fully discloses behavior: truncation of full content, section-specific retrieval, pagination details, response size range (2-10 KB per section, 5-30 KB paginated), caching (5 minutes), rate limit (10 calls per 60s per repo URL), and automatic deduplication of concurrent calls.

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?

The description is well-structured with clear sections, bullet points for pagination and response details, and a separate Args section. Every sentence adds value without redundancy, achieving conciseness despite comprehensive coverage.

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?

Given 4 parameters, no schema descriptions, and an output schema existence, the description covers all needed aspects: purpose, parameter behavior, usage sequence, pagination, caching, rate limits, and response size. No critical gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description adds rich meaning: repo_url examples and shorthand resolution, section_title optional vs required behavior, offset/limit defaults and max. This compensates fully for the lack of schema descriptions.

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?

The description clearly states 'View documentation about a GitHub repository from Google CodeWiki.' It distinguishes two modes (with/without section_title) and references sibling tool codewiki_read_structure for navigation, making the purpose and differentiation explicit.

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

Usage Guidelines4/5

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

Explicitly advises to use codewiki_read_structure first to see available sections. Pagination usage is clearly explained. However, it does not explicitly state when not to use this tool, though the context is sufficient.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Cloudmeru/CodeWiki-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server