Skip to main content
Glama

Rechenausdruck exakt auswerten

rechnen

Evaluates math expressions reliably, something language models often get wrong: arithmetic with correct precedence, powers, roots, trigonometry, logarithms, big numbers, percentages, units (5 km/h to m/s, 3 inch to cm), complex numbers and variables (a = 3; b = a^2 + 1). Runs sandboxed with a time limit. Taschenrechner. Preis $0.005 (x402).

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": {
      "ausdruck": "<ausdruck>"
    },
    "name": "rechnen"
  }
}

Input Schema

NameRequiredDescriptionDefault
ausdruckYesz. B. (17.5 * 3) / 7 + sqrt(2) oder 70 km/h to m/s
variablenNoOptional: {"x": 3}

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full load and does disclose useful behavior: sandboxed execution, a time limit, variable-binding syntax (a = 3; b = a^2 + 1), and a $0.005 x402 payment requirement. It stops short of describing the return shape (raw number vs. value-plus-unit) or what happens on a syntax error or timeout, which matters for an evaluator with no output schema.

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?

Front-loaded with the core purpose followed by a capability list, so an agent can stop reading early. The trailing German fragments "Taschenrechner. Preis $0.005 (x402)." are keyword/pricing padding rather than prose, costing a little tightness, and the language switches mid-description.

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?

For a 2-parameter evaluator with full schema coverage and no output schema, the description covers capability breadth, sandboxing, variables, and pricing well. The remaining gap is what the returned value looks like, which the schema does not supply in its place.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3; the description earns one extra by showing how `variablen` is actually used in an expression chain (a = 3; b = a^2 + 1) and by giving concrete unit-conversion input forms (5 km/h to m/s, 3 inch to cm). That adds meaning beyond the terse schema examples.

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 ("Evaluates") and resource ("math expressions") and enumerates the supported domains: precedence, powers, roots, trigonometry, logs, big numbers, percentages, units, complex numbers, variables. An agent can immediately tell this is a general exact-math evaluator rather than a dedicated unit converter, though it never names or rules out the overlapping sibling einheiten_umrechnen.

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 phrase "something language models often get wrong" implies when to reach for it (instead of mental arithmetic), and the sandbox/time-limit note hints at robustness. But there is no explicit when-to-use/when-not clause and no routing against the unit-conversion or arithmetic-summing siblings.

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