Skip to main content
Glama

get_wiki_section

Read-only

Retrieve markdown content of a specific wiki section using its unique key, with adjustable character limits and offset for pagination to read full sections efficiently.

Instructions

Retrieve markdown content of a wiki section. Defaults to 8000 chars to save tokens. Set limit higher or use offset to read the full section.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYesThe unique slug key of the section (e.g., 'portage-backend-architecture')
limitNoMax characters to return. Default is 8000 but you can set it higher to get the full content in one call.
offsetNoCharacter offset to start from. Use to paginate through large sections.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoError message if section not found or key invalid
limitNoApplied character limit
titleNoSection display title
offsetNoCurrent character offset
parentNoParent topic name
sourceNoSource file path
contentNoSection markdown content
hasMoreNoWhether more content exists beyond this page
nextOffsetNoOffset for the next page, if hasMore is true
breadcrumbsNoHeading hierarchy from root to parent
suggestionsNoSimilar keys when section not found
totalLengthNoTotal content length in characters
relatedSectionsNoRelated sections by key prefix
Behavior4/5

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

The description discloses that the tool defaults to 8000 characters to save tokens and that limit/offset can be used to retrieve the full section. This adds behavioral context beyond the readOnlyHint annotation, which already signals safety. No contradiction with the annotation.

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 two short sentences, with the primary action stated first and supporting details about pagination in the second. Every sentence earns its place with no filler.

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?

The description covers the core retrieval behavior and pagination effectively. Since an output schema exists, return format is already defined, and the annotations cover read-only status. The tool is simple enough that this description is sufficient, though it could reference how to discover section keys via sibling tools.

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?

The input schema has 100% coverage with descriptions for key, limit, and offset. The description's mention of defaulting to 8000 chars and using offset essentially restates schema information, but adds the rationale of saving tokens. This minor extra context slightly elevates it above baseline, but the schema carries most of the semantic weight.

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 clearly states the tool retrieves markdown content of a wiki section, which is a specific verb and resource. However, it does not explicitly distinguish itself from sibling tools like get_wiki_sections or browse_wiki, though the mention of 'markdown content' implies content retrieval.

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?

The description provides no guidance on when to choose this tool over alternatives. It only discusses limit and offset parameters, which are usage details for the tool itself, not comparisons with siblings. No when-to-use or exclusions are stated.

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/jommar/mcp-wiki'

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