Skip to main content
Glama

verify_equality

Determine if two mathematical expressions are symbolically equal. Input any two expressions to get a true or false verification result, confirming algebraic equivalence.

Instructions

    Verify that two expressions are symbolically equal.

    Args:
        expression1: First expression
        expression2: Second expression

    Returns:
        Verification result

    Examples:
        verify_equality("(x+1)**2", "x**2 + 2*x + 1") → verified: True
        verify_equality("sin(x)**2 + cos(x)**2", "1") → verified: True
    

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expression1Yes
expression2Yes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations are provided, and the description offers minimal behavioral disclosure. It gives examples showing it can handle polynomial and trigonometric identities, but it does not specify return format details, error handling, or limitations. The Returns section only states 'Verification result,' which is vague.

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 appropriately sized and well-structured with sections for Args, Returns, and Examples. The purpose statement is front-loaded, and the examples are concise and informative. Every sentence adds value.

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?

For a simple tool with two string parameters, the description covers the core purpose and provides illustrative examples. However, it lacks explicit usage guidance, behavioral details, and does not reference the output schema (whose content is unknown). It is adequate but not complete.

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 descriptions are empty (0% coverage), but the description's Args section defines each parameter as an expression and provides examples that clarify their string format. This partially compensates for the lack of schema detail, though it does not add extensive parameter-specific semantics.

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 verifies symbolic equality of two expressions. It uses a specific verb and resource, and it distinguishes itself from other verification tools (e.g., verify_derivative, verify_integral) by focusing on equality.

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 description provides examples of when to use the tool but does not explicitly mention when not to use it or compare it to alternatives like symbolic_equal. Usage context is implied through the examples and purpose statement.

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/u9401066/nsforge-mcp'

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