Skip to main content
Glama
welthus-mcp

welthus-mcp

Official
by welthusai

verify_math

Checks arithmetic expressions and equality claims in a bounded AST sandbox, confirming exact results before generated code runs.

Instructions

Verify arithmetic expressions or equality claims in a bounded AST sandbox.

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": "verify_math"
  }
}

Input Schema

NameRequiredDescriptionDefault
expressionYesArithmetic expression or equality claim.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. 'Bounded AST sandbox' is a genuinely useful disclosure that evaluation is parsed rather than executed and is resource-limited, but nothing is said about failure modes, input size limits, or what a verification result looks like.

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?

A single front-loaded sentence with no filler; the scope and the evaluation mechanism both land immediately.

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 one required parameter and no output schema, the definition is nearly adequate, but for a verification tool it leaves open whether the result is a boolean, a counterexample, or a normalized value — the one detail an agent most needs before calling it.

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?

Only one parameter exists and schema description coverage is 100%, so the schema already defines the input. The description adds the nuance that the expression may be an equality claim rather than a bare expression, but otherwise restates the schema.

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 (verify) and a specific resource (arithmetic expressions or equality claims), plus the mechanism (bounded AST sandbox). This implicitly separates it from siblings like verify_claim (general claims) and verify_code (code), though it never names them explicitly.

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?

Usage is only implied by the domain restriction to arithmetic/equality, so an agent can infer it should reach for this over a general claim verifier for math. There is no explicit when-to-use, when-not-to-use, or named alternative.

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