Skip to main content
Glama
XBP-Europe
by XBP-Europe

plot3d_expression

Generate a 3D surface plot from a two-variable mathematical expression, returning the visualization as a base64-encoded PNG. Configure the x and y variable ranges to customize the plotted domain.

Instructions

Plot a 3D surface of a two-variable expression as base64 PNG

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expressionYesExpression of two variables (e.g. 'sin(x)*cos(y)')
x_variableNoFirst variablex
y_variableNoSecond variabley
x_range_maxNoX upper bound
x_range_minNoX lower bound
y_range_maxNoY upper bound
y_range_minNoY lower bound

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It does mention the output format (base64 PNG) but does not state whether the tool is read-only, how it handles invalid expressions, or any potential side effects. This leaves important behavioral aspects undisclosed.

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, front-loaded sentence that states the core purpose and output format with no redundant words. It is exceptionally concise and clear.

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 that an output schema exists, the description need not explain return values. The description adequately covers the high-level purpose and output format, and the schema handles parameter details, making the tool reasonably complete for its moderate 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?

The schema description coverage is 100%, so parameters are already well-documented. The description adds only the context of 'two-variable expression' and '3D surface', which does not significantly enrich the parameter meanings beyond what the schema provides.

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 tool plots a 3D surface of a two-variable expression and returns a base64 PNG. This is specific and distinct from siblings like plot_expression (which likely plots 2D) and plot_multi_expression (which plots multiple expressions).

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?

The description provides no guidance on when to use this tool versus alternatives. It does not mention that plot_expression is for 2D or that plot_multi_expression handles multiple expressions, so an agent gets no decision support.

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/XBP-Europe/sagemath-mcp'

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