Skip to main content
Glama

Expression Simplifier

calculator_simplify
Read-only

Simplify algebraic expressions, e.g. 2x + 3x → 5x.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "expression": "<expression>"
    },
    "name": "calculator_simplify"
  }
}

Input Schema

NameRequiredDescriptionDefault
expressionYesExpression to simplify.

Output Schema

NameRequiredDescriptionDefault
resultYes
expressionYes
simplifiedNo

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?

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so safety is covered. Beyond that the description adds only the symbolic-result example; it says nothing about supported expression syntax, input format tolerance, or how nontrivial/already-simplified inputs are handled.

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?

One short sentence plus a worked example, with the purpose front-loaded and no filler. It is lean to the point of being sparse, but nothing present is wasted.

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?

With an output schema and full param documentation, the remaining need is minimal, and annotations cover safety. Still missing is any statement of acceptable input syntax or relationship to the expand/factor siblings, which matters in a catalog of ~130 calculator tools.

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% for the single parameter and the schema itself supplies examples ('2*x + 3*x'), so the description's parameter contribution is minimal. The description's example uses '2x' notation while the schema examples use '2*x', a gap the description does not resolve.

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?

States a specific verb+resource ('Simplify algebraic expressions') and the worked example (2x + 3x → 5x) makes the operation unambiguous. It does not, however, distinguish this from closely related siblings such as calculator_expand, calculator_factor, or calculator_basic.

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 indication of when to prefer simplification over expansion, factoring, or polynomial evaluation, all of which exist as siblings. The agent must infer selection from the tool name alone.

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.