Skip to main content
Glama
danielsimonjr

UpMath MCP Server

render_diagram_template

Generate technical diagrams from pre-built TikZ templates for control systems, neural networks, state machines, and other complex visualizations by providing custom parameters.

Instructions

Render a pre-built TikZ diagram template with custom parameters. Templates: control-system, neural-network, state-machine, bayesian-network, signal-flow, data-plot, commutative-diagram.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
templateYesTemplate name (e.g., 'control-system', 'neural-network')
paramsNoTemplate parameters as JSON string (varies by template){}
formatNoOutput formatsvg
saveToNoFile path to save output
Behavior2/5

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

No annotations are provided, so the description carries full burden. It mentions rendering with custom parameters but doesn't disclose behavioral traits like whether it's read-only/destructive, performance characteristics, error handling, or output specifics. The description is functional but lacks transparency about how the tool behaves beyond its basic purpose.

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 and provides a useful list of templates. Every word earns its place with no redundancy or unnecessary elaboration.

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?

Given no annotations and no output schema, the description is incomplete for a tool with 4 parameters that performs rendering. It doesn't explain what the output looks like (e.g., file saved, content returned), error conditions, or behavioral constraints. For a tool that likely generates files or images, this leaves significant gaps.

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 minimal value beyond the schema by listing template examples, but doesn't provide additional semantic context like parameter interactions or usage examples. Baseline 3 is appropriate given high schema coverage.

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 clearly states the verb 'Render' and resource 'pre-built TikZ diagram template with custom parameters', and lists specific template examples. It distinguishes from siblings like 'render_tikz' (general rendering) by specifying template-based rendering, though not explicitly contrasting with all alternatives.

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 description implies usage context by listing available templates, suggesting when this tool is appropriate for those diagram types. However, it lacks explicit guidance on when to use this vs. alternatives like 'render_tikz' or 'render_batch', and no prerequisites or exclusions are mentioned.

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