Skip to main content
Glama

Get wiki page

get_wiki_page
Read-onlyIdempotent

Identify a wiki page's title and project from its numeric ID, without exposing content. Use it to verify a URL's target before fetching attachments.

Instructions

Read a wiki page's identity and project — NOT its content.

Two limits define this tool, and both must be passed on to the user rather than worked around. First, wiki_page_id comes from a wiki page URL the user supplies: API v3 has no wiki index and no wiki search, so there is no way to look a page up by title or to list a project's pages. Second, the page's CONTENT is not exposed by the API at all — the response carries only {id, title, project} plus the page's attachments, and notes repeats that in-band.

So: use it to confirm which page a URL points at, to get the project a page belongs to, and as the step before fetching its files. To read the text, ask the user to paste it or open the page in the browser.

Pitfalls. A 404 means the id is wrong, the page was deleted, or the wiki is disabled in that project — it does not mean the wiki is empty. Sub-pages, revisions, page history and wiki-page↔work-package links are not exposed either. Creating or editing wiki pages is not supported by this server.

Cross-references: list_attachments(container_type='wiki_page', container_id=<id>) lists the files on the page and download_attachment fetches one; get_project_metadata for what the project does expose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
wiki_page_idYesNumeric wiki page id. There is no wiki index or search in API v3, so this id can only come from a page URL the user gives you — the number in /projects/<project>/wiki/<id> or in the page's 'Info' view. Never guess it.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoWiki page id.
notesNoAlways carries the marker that page content is not part of API v3.
titleNoPage title as shown in the wiki menu.
projectNoProject that owns the wiki.
Behavior5/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, but the description adds substantial context beyond these: no wiki index or search, content not exposed by the API, 404 meaning an invalid id or disabled wiki, and no sub-pages or revisions. These details are critical and not derivable from annotations.

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 a clear opening statement, logical sections for limits, use cases, and pitfalls, and no redundant sentences. Every detail earns its place, and the length is justified by the tool's unusual constraints.

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?

The description fully covers the tool's context: what it returns, what it cannot do, how to handle errors, and related tools. Given that an output schema exists (indicated by context), the lack of explicit return-type explanation is not a gap. This is complete for the tool's complexity.

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 schema provides 100% coverage with a detailed description of wiki_page_id, including its source (page URL) and a warning to never guess it. The tool description reiterates this information without adding new parameter-level semantics, so the baseline of 3 is appropriate.

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 opens with a precise verb and resource: 'Read a wiki page's identity and project — NOT its content.' It explicitly distinguishes the tool's scope from content retrieval and clarifies the response shape. This clearly differentiates it from sibling tools that handle attachments or work packages.

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?

The description explicitly states when to use the tool: 'use it to confirm which page a URL points at, to get the project a page belongs to, and as the step before fetching its files.' It also provides an explicit alternative for reading content: 'ask the user to paste it or open the page in the browser.' Cross-references to list_attachments and get_project_metadata further guide tool selection.

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/kar-thik/openproject-mcp'

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