Skip to main content
Glama

preview_question_page

Renders an original question paper page as a high-resolution PNG so multimodal AI models can visually inspect diagrams, circuits, graphs, equations, and handwritten exam sheets without using disk space.

Instructions

Render an original question paper page as a high-resolution PNG image. Essential for multimodal AI models (Claude, ChatGPT, Cursor) to visually inspect diagrams, circuits, flowcharts, graphs, mathematical equations, and handwritten exam sheets. Works completely in-memory without wasting disk space.

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": {
      "file_id": "<file_id>"
    },
    "name": "preview_question_page"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYes
page_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does add real context beyond the name: high-resolution output, in-memory rendering with no disk usage, and the target consumer being multimodal models. It omits how the image is returned (inline image content vs. a URL/path), what happens for an out-of-range page number, and whether any permissions or file-type restrictions apply.

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?

Three sentences, front-loaded with the action and output format. The parenthetical model list ('Claude, ChatGPT, Cursor') is somewhat promotional filler, but the rest of each sentence carries useful information.

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

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations, no output schema, and 0% parameter coverage mean the description must do all the work, and it does not. An agent still cannot tell what file_id expects or how the rendered PNG is delivered in the response, which are the two things needed to invoke this correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and neither parameter is documented in the schema. The description never explains what file_id refers to (question paper file, collected file, course file?) or that page_number is 1-based and defaults to 1. Only the generic word 'page' hints at the second parameter, leaving the required identifier fully undefined.

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?

The description gives a specific verb and resource: 'Render an original question paper page as a high-resolution PNG image.' That is unambiguous and clearly distinct from the list/search/collect siblings. It stops short of naming the nearest alternative (get_pdf_file) or explaining how the PNG render differs from fetching the source PDF, so it lands at 4 rather than 5.

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?

It supplies a clear context for use: call this when you need to visually inspect diagrams, circuits, flowcharts, graphs, equations, or handwriting that text extraction would miss. There is no explicit when-not guidance and no alternative tool named, which keeps it out of 5 territory.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.