Skip to main content
Glama

cellmath

compute_math_expression

[PUBLIC READ/WRITE] Execute mathematical expression, symbolic polynomial evaluation, derivatives, or statistical functions.

Input Schema

NameRequiredDescriptionDefault
variablesNoVariable values map (e.g., {"x": 4, "y": 1.57})
expressionYesMathematical expression (e.g., "3*x^2 + 2*x - 5", "sqrt(x) + sin(y)")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral burden. It includes a terse '[PUBLIC READ/WRITE]' tag indicating access level, but does not explain what 'WRITE' means for a math tool, whether anything is persisted, permission requirements, or expected response behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single front-loaded sentence with no filler. It is appropriately concise, though the bracketed access tag is not integrated into a fuller structure.

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?

The purpose and supported operations are clear, and the schema fully documents parameters. However, with no annotations and no output schema, the description does not describe return values, side effects, or operation-specific behavior, leaving meaningful gaps for an agent.

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 both parameters and the nested variables object are already documented in the schema. The description adds no parameter-specific meaning beyond the schema, so the baseline of 3 is appropriate.

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 uses a clear verb ('Execute') and resource ('mathematical expression') and lists supported capabilities such as symbolic polynomial evaluation, derivatives, and statistical functions. However, it does not differentiate this tool from nearby siblings like execute_cell_math or solve_symbolic_matrix.

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 guidance is given on when to use this tool versus alternatives such as execute_cell_math or solve_symbolic_matrix. The description states capabilities but provides no context, exclusions, or decision criteria.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources