Skip to main content
Glama

Render plan document

render_plan_document

Typeset one Markdown source as a PDF on the tenant's letterhead and file it at the tender. Same typesetter as export_dossier, so a plan document and a Mappe look alike. The answer carries the provenance — source checksum, letterhead checksum, document date — and says what changed since the last run: changed false means the same text and the same profile, so the layout is identical; changed null means there was no rendered PDF with provenance to compare against, which is unknown and not unchanged. Re-rendering REPLACES the file at the tender rather than adding a second one: two versions of the same Fachkonzept in a submission folder look alike and someone packs the wrong one. dry_run typesets without touching the tender.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
titleNo
dry_runNoTypeset and report, change nothing at the tender.
variantNo
doc_kindNo
draft_idNoThe stored source. Either this or tender_id + markdown.
markdownNo
tender_idNoOnly with markdown: typeset an ad-hoc text without storing a source. Needs dry_run.
document_dateNoJJJJ-MM-TT. Overrides the stored document date.
with_diagramsNoRender mermaid blocks through Browserless. Costs one call. Without it they appear as source text and the answer says so.
letterhead_profile_keyNoOverrides the profile stored at the source. The same call in another tenant uses that tenant's profile — no code change.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

The description goes well beyond the annotations by disclosing replacement semantics ("REPLACES the file at the tender rather than adding a second one"), the tri-state `changed` result, and the diagram call cost. But that replacement warning clashes with the annotation's destructiveHint=false and idempotentHint=false, which flatly assert that nothing is overwritten and that re-running changes state; the agent gets conflicting signals about side effects. The annotations therefore still need reconciling with the text, so this scores a 3.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded with the purpose, and each later sentence handles one concern: provenance, the changed semantics, and the replacement warning. It is on the long side, and the explanation of why duplicate versions are dangerous is somewhat elaborate, but that rationale justifies the warning rather than padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 does a good job of explaining what the answer carries (source checksum, letterhead checksum, document date, changed state) and the diagram fallback notice. It leaves out, however, the mutual exclusivity and requiredness rules among the ten parameters (nothing is required) and any mention of variant/doc_kind meaning, which an agent must call correctly.

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?

Schema coverage is 60%, and the description compensates for much of the gap by explaining dry_run, the tender_id + markdown combination, with_diagrams (costing one Browserless call, otherwise mermaid appears as source text), and letterhead_profile_key tenant scoping. It adds nothing for variant or doc_kind, whose enum values stay unexplained in both schema and description.

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 concrete verb and resource: "Typeset one Markdown source as a PDF on the tenant's letterhead and file it at the tender." It also positions itself relative to a sibling by noting it uses "Same typesetter as export_dossier," so an agent knows the visual output matches while the artifact differs.

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?

Gives clear operating context: it needs a stored source via draft_id or an ad-hoc markdown plus tender_id, and the ad-hoc path "Needs dry_run." It also tells the agent how to preview safely. However, it never states when to prefer this over render_plan_folder or the other render tools, and says nothing about the variant or doc_kind choices.

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