Skip to main content
Glama
danielsimonjr

UpMath MCP Server

render_tikz

Convert TikZ diagrams to SVG or PNG images without local LaTeX installation. Supports tikz, pgfplots, circuitikz, and tikz-3dplot packages for technical visualization.

Instructions

Render a TikZ diagram to SVG or PNG. Supports tikz, pgfplots, circuitikz, tikz-3dplot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tikzYesTikZ code including \begin{tikzpicture}...\end{tikzpicture}
packagesNoAdditional packages (e.g., ['circuitikz', 'pgfplots'])
formatNoOutput formatsvg
saveToNoFile path to save output
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Render') and output formats but lacks critical details: whether rendering is resource-intensive, has rate limits, requires specific permissions, or how errors are handled. For a tool with no annotation coverage, this leaves significant behavioral gaps.

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 a single, efficient sentence that front-loads the core purpose ('Render a TikZ diagram to SVG or PNG') and adds supporting details without waste. Every word earns its place, making it easy for an agent to parse quickly.

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?

Given 4 parameters with full schema coverage but no output schema or annotations, the description is minimally adequate. It covers the what (rendering TikZ) but lacks context on behavioral traits, error handling, or performance considerations, which are important for a rendering tool with potential complexity.

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 documents all parameters thoroughly. The description adds no additional parameter semantics beyond what's in the schema, such as examples of TikZ code structure or package usage nuances. Baseline 3 is appropriate when the schema does the heavy lifting.

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 verb 'Render' and the resource 'TikZ diagram', specifying the output formats (SVG or PNG) and supported libraries (tikz, pgfplots, circuitikz, tikz-3dplot). It distinguishes from siblings like render_equation or render_markdown_with_math by focusing on TikZ diagrams specifically.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives is provided. It mentions supported libraries but doesn't compare to siblings like render_diagram_template or render_batch, leaving the agent to infer usage context from tool names alone.

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