Skip to main content
Glama

PDF indir

export_pdf

Generate a PDF of a saved document or report. Requires both read and write access for that document type. Operations: resume | cover_letter | ats_report | research. Returns the response envelope; nextActions list what the user can do next, primary first.

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": {
      "operation": "<operation>"
    },
    "name": "export_pdf"
  }
}

Input Schema

NameRequiredDescriptionDefault
reportIdNoOptional when exactly one candidate item exists: omit its ID to use that item. Ask which saved item to use only when several exist.
resumeIdNoOptional when exactly one candidate item exists: omit its ID to use that item. Ask which saved item to use only when several exist.
operationYesChoose the task. Each operation accepts only its own fields.
researchIdNoOptional when exactly one candidate item exists: omit its ID to use that item. Ask which saved item to use only when several exist.
coverLetterIdNoOptional when exactly one candidate item exists: omit its ID to use that item. Ask which saved item to use only when several exist.

Output Schema

NameRequiredDescriptionDefault
dataNo
pageNo
errorNo
linksNo
statusYes
noticesNo
pollingNo
summaryYes
agentHintNo
nextActionsYes
appliedDefaultsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false), the description discloses a real behavioral requirement that annotations cannot express: both read and write access are needed for the document type, which implies authorization gates an agent must anticipate. It also describes the response envelope and that nextActions is ordered primary-first, though it does not say whether repeated calls regenerate or duplicate the PDF despite idempotentHint=false.

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 short sentences, with purpose front-loaded, then the access prerequisite, then the return behavior. Every sentence contributes new information and none repeats the schema or title.

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?

An output schema exists, so the description needn't document return values, and it still adds the nextActions ordering detail plus the access prerequisite, covering the main gaps for a generate-and-return tool. It is slightly thin on what the generated artifact actually is or where the agent obtains it (the title implies a download), which is the one thing an agent may still need to guess.

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 description coverage is 100%, so the parameter docs already carry the semantics, and the description's operation list merely restates the enum values. It adds no new meaning about how the ID parameters pair with specific operations or what a non-existent ID does; baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Generate a PDF of a saved document or report') and enumerates the four operations, which lets an agent distinguish the request shape from siblings like summarize_resume or draft_text. It stops short of naming any sibling as an alternative path, so differentiation is implicit rather than explicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description names the four operations and states the prerequisite (both read and write access for that document type), which gives useful context for invoking it. It never says when to prefer this over another tool, nor what to do when the document is missing or the access check fails; the 'which saved item to use' guidance lives only in the schema, not the description.

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