Skip to main content
Glama

PDF Dark — Invert PDF Colors & Dark Mode

recommend_pdf_settings

Recommend the optimal PDF Dark tool page, theme preset, and image-handling mode based on document type and reading device.

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": {
      "document_type": "<document_type>"
    },
    "name": "recommend_pdf_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceNoTarget reading or output device.
document_typeYesType of PDF document.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry the behavioral burden. 'Recommend' correctly implies a non-mutating advisory call, which is useful, but the description never states what the response looks like (strings, a config object, multiple fields) or what happens if the optional device is omitted.

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?

One sentence, front-loaded with the action and outputs, with no filler. Slight deduction for the awkward 'PDF Dark tool page' phrasing that adds ambiguity rather than clarity.

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 tool is simple (two documented params, no nested objects, no output schema), so much of the burden is light. Still missing is any indication of the return shape and the default behavior when device is not supplied, which an agent needs to use the result 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 description coverage is 100% with enums on both parameters, so the schema already defines all valid values. The description only adds that these two inputs jointly determine the recommendation, which is marginal but consistent with the baseline for fully documented schemas.

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?

Specific verb ('Recommend') plus three concrete outputs (PDF Dark tool page, theme preset, image-handling mode) and the inputs that drive them. The agent can tell this is an advisory/config-selection tool rather than a PDF transformer like invert_pdf_base64, though the phrase 'PDF Dark tool page' is a bit opaque.

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 phrase 'based on document type and reading device' implies this is called before applying dark-mode settings, but there is no explicit when-to-use, no exclusion, and no routing against get_dark_mode_presets or invert_pdf_base64, which an agent could easily confuse it with.

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.