Skip to main content
Glama
TeleEng

math-reasoning-mcp

by TeleEng

differentiate

Calculate the nth-order derivative of an expression with respect to a given variable. Set the order parameter for higher derivatives.

Instructions

Computes the nth-order derivative of an expression with respect to a variable.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNo
variableYes
expressionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It clearly describes the core operation, but it omits input syntax constraints, validation behavior, and how invalid expressions or variables are handled. The absence of side effects is implicit but not explicitly stated.

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 a single, well-structured sentence with no fluff. The core action is front-loaded, and every word contributes meaningful information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the existence of sibling tools like parse_latex_to_sympy, the description does not clarify what input format 'expression' expects or whether preprocessing is needed. Order constraints and edge cases are also missing. The output schema exists, so return-value documentation is not required, but the input-side context is incomplete for an agent to invoke this tool reliably.

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 0%, so the description must supply parameter meaning. It does connect 'expression', 'variable', and 'nth-order' to the operation, but it provides no format details, constraints on the order value, or examples. This is adequate but minimal.

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 states a specific verb ('Computes'), a clear resource ('nth-order derivative of an expression'), and the target ('with respect to a variable'). This unambiguously distinguishes it from siblings like integrate_expression, solve_equation, and simplify_expression without requiring schema inspection.

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 provided about when to use this tool versus alternatives such as integrate_expression or evaluate_expression. The description does not mention exclusions, prerequisites, or input-preparation steps, leaving the agent to infer usage purely from the tool name.

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