Skip to main content
Glama

fedramp_get_document

Read-onlyIdempotent

Retrieve the full markdown of a FedRAMP document using its path from search results. Get the authoritative text with title and path for citation.

Instructions

Return the full markdown of one FedRAMP corpus document by its path.

Use a `path` returned by `fedramp_search` or `fedramp_list_documents`.

Args:
    params (GetDocumentInput):
        - path (str): repo-relative markdown path, e.g.
          'agencies/rules/agency-use.md'.

Returns:
    str: The document's markdown (frontmatter stripped), prefixed with its
    title and path. Returns an actionable error if the path is unknown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

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, and destructiveHint. The description adds that it returns markdown with frontmatter stripped and an actionable error for unknown paths, providing useful behavioral context.

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?

Very concise and well-structured. The first sentence states the purpose, followed by usage guidance and parameter details. No unnecessary words.

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 adequately covers input, output format, and error handling. Given the presence of an output schema and clear annotations, the description is complete for this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description explains the parameter path with type, format, and example in the Args section. The input schema also contains a description, so this adds value 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?

The description clearly states it returns the full markdown of one FedRAMP document by its path. It distinguishes itself from sibling tools like fedramp_search and fedramp_list_documents by specifying the action and input.

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?

Provides explicit guidance: use a path from fedramp_search or fedramp_list_documents. Does not explicitly mention when not to use it, but context is clear.

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/dan-fedramp/fedramp-rules-mcp'

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