Skip to main content
Glama

Claustr Docs

Fetch one Claustr document

fetch_claustr_doc
Read-onlyIdempotent

Returns the full Markdown of one Claustr document, by the id that search_claustr_docs or list_claustr_docs gave, or by its address on claustr.com. Use this to read a document before you answer from it; a search snippet is only a few words.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "fetch_claustr_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe document's id, for example "about", "legal-privacy" or "post-open-sourcing-handoffkit". A claustr.com address such as https://claustr.com/legal/privacy/ also works.

Output Schema

NameRequiredDescriptionDefault
idYesThe document's id. Pass it to fetch_claustr_doc.
urlYesThe page a person reads.
kindYesWhat the document is.
titleYesThe document's title.
markdownYesThe document's full content as Markdown.
publishedYesA post's publication date (YYYY-MM-DD), or null.
descriptionYesOne or two sentences about the document.
markdown_urlYesThe same content as Markdown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover readOnlyHint, idempotentHint, destructiveHint and openWorldHint, so the safety profile is known. The description adds genuinely useful behavior beyond that: the payload is the full Markdown body of exactly one document, and the id must originate from a search/list call or be a site address — information the annotations do not convey.

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?

Two sentences, front-loaded with the return value and lookup key, then the usage rule. There is no filler, no restatement of the title, and the snippet caveat earns its place by motivating the call.

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?

For a single-parameter read tool with full schema coverage, complete annotations and an output schema, the description supplies everything needed to call it correctly. The only omission is failure behavior for an unknown or malformed id, which is a minor gap given the output schema exists.

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?

Schema coverage is 100% and the id property already documents accepted forms (slug examples and full claustr.com URLs), so the schema does the heavy lifting. The description only restates that the id comes from search_claustr_docs or list_claustr_docs, which is provenance help but no syntax or format detail beyond the schema.

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?

Names a specific verb and resource ("Returns the full Markdown of one Claustr document") and immediately scopes the lookup key to an id or a claustr.com address. It is clearly distinguishable from list_claustr_docs and search_claustr_docs because those are named as the source of the id rather than as alternative ways to read content.

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?

"Use this to read a document before you answer from it; a search snippet is only a few words" gives a concrete trigger and implicitly rules out answering from snippet results. It does not spell out an explicit when-not case (e.g., list-only browsing), so it falls short of full routing guidance, but the practical condition is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources