Skip to main content
Glama
XBP-Europe
by XBP-Europe

vector_calculus_operation

Compute gradient, divergence, curl, or Laplacian for scalar or vector fields. Provide the operation and expression to obtain symbolic vector calculus results.

Instructions

Vector calculus operations: gradient, divergence, curl, laplacian

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesOne of: gradient, divergence, curl, laplacian
variablesNoVariable names (e.g. ['x', 'y', 'z'])
expressionYesScalar field (string) for gradient/laplacian, or vector field components (list) for divergence/curl

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations are absent, so the description must fully convey behavioral traits. It only names the operations and does not disclose any side effects, input requirements (e.g., whether variables must be specified), or output expectations. The schema provides some detail, but the description itself adds no behavioral context beyond the operation names.

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 concise sentence that front-loads the core operations. There is no irrelevant information, and every word earns its place. It is appropriately minimal for the tool's straightforward purpose.

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?

The tool has an output schema and comprehensive parameter descriptions, so the description need not explain return values or parameter details. However, the description lacks usage guidance and behavioral context, making it only minimally complete. It is adequate for identifying the tool but leaves gaps for an agent deciding when to invoke 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?

The input schema already covers all parameters with clear descriptions (operation enumerates the four operations, expression explains scalar vs vector input, variables explains format). Since schema coverage is 100%, the description adds no extra parameter semantics. The baseline of 3 applies as the schema handles the heavy lifting.

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 computes vector calculus operations (gradient, divergence, curl, laplacian), which is specific and distinguishes it from sibling tools like differentiate_expression or integrate_expression that handle scalar calculus. The resource and operations are explicit, making the purpose immediately clear.

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 on when to use this tool versus alternatives. It does not mention which operation to select for different input types (e.g., scalar vs vector fields), nor does it compare to related tools like differentiate_expression. The description only lists the operations without any usage context.

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/XBP-Europe/sagemath-mcp'

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