Skip to main content
Glama
rdnpradipta

Muninn

by rdnpradipta

render_page

Render a PDF page as an image and highlight a passage to show the exact source location.

Instructions

Render a PDF page as an image, optionally with a passage highlighted. Use after search/get_page to SHOW the user the exact source location.

Args: doc_id: document id from search/list_documents. page: 1-based page number. highlight: passage to highlight. Verbatim raw-chunk text from search() always works; paraphrases usually work too — matching falls back exact -> sentence pieces -> fuzzy word alignment -> semantic (embeds the text and highlights the nearest raw chunk on this page). Returns the image plus a highlight_method report. "" = no highlighting.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageYes
doc_idYes
highlightNo
Behavior4/5

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

No annotations provided, so description carries full burden. Details highlight fallback logic and return content (image + report). Lacks potential side effects or performance notes, but still strong.

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?

Concise yet comprehensive. First sentence gives purpose, then context, then parameter details. No wasted words.

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

Completeness5/5

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

Handles tool complexity well. Covers highlight logic, return value, and usage context. No output schema, but description provides enough detail.

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

Parameters5/5

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

Schema coverage is 0%, but description adds full meaning: doc_id from search/list_documents, page is 1-based, highlight explains matching behavior and default. Great compensation.

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?

Clearly states 'Render a PDF page as an image, optionally with a passage highlighted.' Uses specific verb and resource, distinguishes from siblings like search/get_page.

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

Usage Guidelines5/5

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

Explicitly advises 'Use after search/get_page to SHOW the user the exact source location.' Provides clear context and detailed highlight behavior.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rdnpradipta/muninn'

If you have feedback or need assistance with the MCP directory API, please join our Discord server