Skip to main content
Glama

List draft documents

list_draft_documents
Read-onlyIdempotent

List the Markdown sources of a tender — draft proposal text and the plan documents of the submission folder. Each entry also says whether a PDF has been rendered from it and whether that PDF still matches the current text and letterhead: render.changed true means a new run would produce something different, and render.changed null means no rendered PDF with provenance exists — which is NOT the same as unchanged. Use render_plan_document to (re-)typeset one, render_plan_folder for all of them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "tender_id": "<tender_id>"
    },
    "name": "list_draft_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
tender_idYes
with_render_stateNoDefault true. false skips the comparison against the rendered PDFs, which saves a hash of every source.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent, and the description adds real behavioral context beyond them: each entry reports render state, and it spells out the trap that `render.changed` null means no PDF with provenance exists, which is NOT the same as unchanged. That distinction is exactly the kind of non-obvious semantics structured fields cannot convey.

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?

Purpose is front-loaded in the first clause, then the return semantics, then the alternative tools — a clean information order. No filler; even the parenthetical about the hash cost carries operational value.

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

Completeness4/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 must explain the return shape, and it does explain the render-state fields including the null versus false distinction. It leaves other entry fields (identifiers, names, paths) implicit, but that is minor for a straightforward listing tool.

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 only 50%: with_render_state is documented in the schema and the description reinforces why skipping the comparison saves a hash, but tender_id has no explanation anywhere, so the description does not fully compensate for the coverage gap. It adds conceptual meaning around render state without covering the required parameter.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource ('List the Markdown sources of a tender') and enumerates exactly what is returned: draft proposal text plus the plan documents of the submission folder. This separates it from the render_* siblings, though it never contrasts with the other list_* document tools an agent might pick instead.

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?

Explicitly routes the follow-up action ('Use render_plan_document to (re-)typeset one, render_plan_folder for all of them'), so the agent knows this is inspection, not rendering. It stops short of stating when to choose this over sibling listing tools such as list_tender_documents, so the selection guidance is clear but not exhaustive.

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