Skip to main content
Glama

office_to_pdf

Idempotent

Convert one uploaded DOCX, XLSX or PPTX using the PaperLumo server worker. Costs 10 credits on success, max 5 MB and 100 output pages. Check layout after conversion.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdsYes
requestIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The description discloses meaningful side effects beyond the annotations: a 10-credit cost on success, a 5 MB upload limit, a 100-page output limit, and a layout-quality caveat. It does not contradict the annotations and adds practical behavioral detail that helps the agent anticipate consequences.

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 deliver the action, constraints, cost, and follow-up guidance with no filler. The most important information is front-loaded, and every sentence earns its place.

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?

The description covers input types, cardinality, size/page limits, and cost, but it does not explain the role of requestId or how the resulting PDF is returned or stored. Since there is no output schema, a bit more detail about the output artifact would make the tool fully self-sufficient.

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?

The description adds useful semantics for fileIds by clarifying that it refers to one uploaded Office file in DOCX, XLSX, or PPTX format. However, requestId is not explained at all, and with 0% schema description coverage, the description only partially compensates for the missing parameter guidance.

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?

The description uses a specific verb ('Convert') and resource ('one uploaded DOCX, XLSX or PPTX'), and the tool name makes the PDF output unambiguous. It is clearly distinct from the sibling PDF-processing tools, which operate on existing PDFs rather than converting Office files.

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?

The description provides clear usage context: input must be a single uploaded Office file, and it states size/page limits and the need to check layout after conversion. It does not explicitly name alternatives or exclusions, but no sibling tool offers equivalent Office-to-PDF conversion, so the context is sufficient.

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