Fetch Markdown content and metadata for a document by id. Supports chunked reads via optional offset/limit (limit capped at ${MAX_DOCUMENT_CONTENT_CHARS} characters per call).
AI agents call refmd-read-document to retrieve information from RefMD MCP Server without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.
This tool only fetches and retrieves document content and metadata without creating, modifying, deleting, or executing any operations. The chunked read capability via offset/limit parameters does not change the fundamental nature as a read-only operation. No data is altered, deleted, or affected by using this tool.
From the tool's definition Tool name 'refmd-read-document' and description 'Fetch Markdown content and metadata for a document by id' explicitly indicate a retrieval operation with no side effects.
Attacks that exploit this kind of access
Fetch Markdown content and metadata for a document by id. Supports chunked reads via optional offset/limit (limit capped at ${MAX_DOCUMENT_CONTENT_CHARS} characters per call). It is categorised as a Read tool in the RefMD MCP Server MCP Server, which means it retrieves data without modifying state.
Register the RefMD MCP Server MCP server in PolicyLayer and add a rule for refmd-read-document: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches RefMD MCP Server. Nothing to install.
refmd-read-document is a Read tool with low risk. Read-only tools are generally safe to allow by default.
Yes. Add a rate_limit block to the refmd-read-document rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for refmd-read-document. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
refmd-read-document is provided by the RefMD MCP Server MCP server (refmdio/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →