Skip to main content
Glama
matheusbgodoi

SciMath MCP

linear_algebra

Read-onlyIdempotent

Perform exact linear-algebra operations on matrices up to 25x25: determinant, inverse, solve, multiply, eigenvalues, and more, with fractional precision and stability warnings.

Instructions

Perform exact matrix and linear-algebra operations on matrices up to 25x25. Supply other_matrix for multiplication or as the right-hand side of solve. String entries such as 1/3 preserve exact values. Condition-number results include numerical-stability warnings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
matrixYes
operationYes
precisionNo
other_matrixNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
unitNoOutput unit, when dimensionful.
exactNoExact symbolic result when available.
resultYesPrimary result; strings preserve mathematical precision.
detailsNo
warningsNo
operationYesOperation actually performed.
approximateNoNumerical approximation at the requested precision.
normalized_inputNoCanonical input used by the computation engine.
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description adds rich behavioral context: exact arithmetic, the 25x25 matrix size limit, preservation of exact fractional string entries, and numerical-stability warnings for condition numbers. No contradiction with annotations.

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?

Four short, information-dense sentences, front-loaded with the core purpose and followed by practical details. Every sentence earns its place and there is no filler or tautology.

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

Completeness4/5

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

The description covers key constraints and behavioral caveats for a complex matrix tool, while the output schema handles return details. It omits precision semantics and explicit alternative-tool guidance, but the operation enum and annotations fill many gaps.

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 description clarifies matrix (size limit, exact string entries) and other_matrix (multiplication or solve RHS), but the precision parameter is not explained. Since schema description coverage is 0%, the description only partially compensates for the lack of parameter documentation.

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 clearly states the tool performs exact matrix/linear-algebra operations on matrices up to 25x25, and mentions matrix inputs, other_matrix, and condition-number warnings. It does not explicitly contrast with sibling tools like solve or calculate, so it misses the full sibling-differentiation criterion.

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 context is implied: the tool is for exact matrix operations. It gives parameter-level guidance (other_matrix for multiplication or solve RHS, string entries preserve exact values), but it does not state when to choose this tool over alternatives or mention exclusions.

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/matheusbgodoi/scimath-mcp'

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