Skip to main content
Glama
AbderY
by AbderY

differentiate

Compute the derivative of a mathematical expression with respect to a variable, optionally to a specified higher order, for symbolic differentiation tasks.

Instructions

Differentiate expression w.r.t. variable (optionally to a higher order).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
orderNo
variableNox
expressionYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden, and it does disclose that differentiation can be taken to a higher order. It does not state that this is a pure side-effect-free computation or how the result is returned, though an output schema exists to cover the return value.

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 sentence with no filler, front-loading the operation and its operands. Nothing is redundant.

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?

Because an output schema exists, return values need not be described. Still, for a symbolic-computation tool with undocumented parameter defaults and no guidance on relations to sibling tools, the definition is minimally adequate rather than 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 description coverage is 0%, so the description must compensate, and it does identify all three parameters conceptually (expression, variable, order). However, it omits the defaults (variable='x', order=1) and any format expectations for the expression string, leaving part of the parameter meaning unresolved.

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?

The description names a specific verb (differentiate) and its operands (expression w.r.t. variable, to a given order), so the operation is unmistakable. It does not, however, distinguish itself from the obvious sibling 'integrate' or other calculus tools, leaving the agent to infer the boundary.

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?

There is no when-to-use guidance, no mention of prerequisites, and no reference to alternatives such as integrate or simplify_expression even though they occupy adjacent territory. The agent must infer context entirely from the name.

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