Skip to main content
Glama

Read one doc (any kind, the company brief included) with its current `version`.

get_doc
Read-onlyIdempotent

Read one doc (any kind, the company brief included) with its current version.

Returns the doc (frontmatter, the markdown body) and its current version — works for every kind, the company brief included. Call this before update_doc, delete_doc, restore_doc_version or acknowledge_handoff and pass the version it returns. at (a commit from get_doc_history) reads an older version.

You act with exactly the rights of the user who owns this token; a project you cannot see returns not_found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
atNoCommit hash (from get_doc_history) to read an older version.
kindYesProject docs (spec D76): `brief` = why the project exists, goals, business and tech structure; `notes` = working notes / progress; `handoffs` = hand-over to teams or the whole project; `company_brief` = the company's rules and guidelines (read-only in project routes).
slugYesFile name of a doc without `.md`: lowercase a–z 0–9 and `-` (brief, notes, company brief) or `H-{n}` (handoffs).
project_keyYesProject key, e.g. `KJ`. 2–10 chars, uppercase letters and digits, starts with a letter.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources