Skip to main content
Glama

postmd-mcp-server

postmd_get_document

Read-only

Get document metadata by docCode: title, fileName, hasPassword, viewerStyle, timestamps. Public — no API key needed. Content is not included; use postmd_get_document_raw for the Markdown source.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docCodeYesDocument code, e.g. P-123-456-789.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations provide readOnlyHint=true, and the description adds useful behavior beyond that: no API key required and a negative scope ('content is not included'). It does not cover pagination (not applicable for a single-doc lookup), so a 4 is fair.

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?

Three tight clauses: what it returns, auth posture, and the sibling escape hatch. Zero waste and the resource and key field are front-loaded.

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?

With no output schema, the description enumerates the returned fields (title, fileName, hasPassword, viewerStyle, timestamps), states the auth model, and points to the sibling for content — everything an agent needs to call it correctly.

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 docCode already has an example (P-123-456-789) in the schema. The description only restates that lookup is by docCode, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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?

States a specific verb and resource ('Get document metadata by docCode') and enumerates the returned fields, so the agent knows exactly what it retrieves. It also explicitly distinguishes itself from the sibling postmd_get_document_raw.

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 says content is not included and names the alternative (postmd_get_document_raw) for Markdown source, giving the exact condition that routes to the sibling. Also clarifies it is a public endpoint requiring no API key.

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.