Skip to main content
Glama

Topos Documentation

topos_get_doc
Read-onlyIdempotent

Fetch a Topos documentation page as Markdown. Covers topics like agent contract, lattice, metrics, preferences, priority, and workflows.

Instructions

Return a Topos documentation page as Markdown.

Use when your MCP client does not expose resource fetching to the agent (e.g. Gemini CLI). Clients that do surface resources should prefer the equivalent resource URI for efficiency: topos://docs/{topic}.

Topics:

  • agent-contract — compact loop contract. Read first for refactors.

  • lattice — the 8-element 3-cube H(G_qual); top = IDEAL, bottom = SLOP.

  • metrics — every metric key, thresholds, interpretation.

  • preferences — strict generator rankings and preference walks.

  • priority — priority profiles (simple/composable/secure).

  • workflows — expanded review→plan→refactor→re-measure guide.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topicYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint. Description adds that it returns Markdown and explains each topic's content, providing useful context beyond 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?

Well-structured and concise: purpose sentence, usage guidance, bullet list of topics. No wasted words, and front-loaded with key information.

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 the tool's simplicity (1 param, output schema exists), the description is complete: covers purpose, when to use, what each topic contains, and output format. No gaps.

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 provides enum values but no description coverage. The description elaborates each topic with meaningful explanations (e.g., 'agent-contract — compact loop contract. Read first for refactors.'), adding significant semantic value.

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?

Clearly states it returns a Topos documentation page as Markdown. Distinguishes from resource URI alternative, and lists specific topics. Differentiates from sibling tools which are about assessment/evaluation.

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?

Explicitly states when to use (MCP client not exposing resource fetching) and when not (prefer resource URI for efficiency). Explains topics and provides a 'read first' recommendation.

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/Krv-Labs/topos'

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