Skip to main content
Glama
danielsimonjr

UpMath MCP Server

render_diff

Compare LaTeX equation versions side by side by rendering them into an HTML page for visual difference analysis.

Instructions

Render two versions of a LaTeX equation side by side for visual comparison. Returns an HTML page with both versions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beforeYesOriginal LaTeX
afterYesModified LaTeX
labelNoLabel for the comparisonEquation
saveToNoFile path to save HTML comparison
Behavior3/5

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

With no annotations provided, the description carries the full burden. It discloses the tool's behavior by stating it returns an HTML page and can save to a file path, but doesn't mention potential limitations like rendering time, error handling for invalid LaTeX, or whether the HTML is self-contained. It adequately describes the core behavior but lacks depth on operational constraints.

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?

The description is extremely concise with two sentences that efficiently convey purpose and output. Every word earns its place—no redundancy or fluff. It's front-loaded with the core functionality followed by the return type.

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?

Given the tool's moderate complexity (comparative rendering with file output), no annotations, and no output schema, the description is reasonably complete. It covers what the tool does and the output format, but could benefit from mentioning error cases or the structure of the returned HTML. It's adequate but not exhaustive.

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 schema already fully documents all 4 parameters. The description adds no additional parameter semantics beyond what's in the schema (e.g., it doesn't clarify LaTeX format requirements or file path specifics). This meets the baseline for high schema coverage.

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 clearly states the specific action ('render two versions side by side for visual comparison'), the resource ('LaTeX equation'), and the output format ('HTML page'). It distinguishes itself from sibling tools like 'render_equation' (single equation rendering) and 'render_equation_sheet' (multiple equations) by focusing specifically on comparative visualization.

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 implicitly suggests usage for comparing original vs. modified LaTeX equations, which provides clear context. However, it doesn't explicitly state when NOT to use this tool or name specific alternatives among the siblings (e.g., 'render_equation' for single equations, 'validate_equations' for validation without rendering).

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/danielsimonjr/upmath-mcp'

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