Skip to main content
Glama
Jambozx

OnlineCyberTools MCP (280+ filterable tools)

math_matrix_calculator

Read-onlyIdempotent

Perform finite-precision linear-algebra operations on small matrices up to 8x8: add, subtract, multiply, transpose, determinant, inverse, and identity construction.

Instructions

Matrix Calculator. Perform finite-precision linear-algebra operations on small matrices: add, subtract, multiply, scalarMultiply, transpose, determinant (cofactor for n<=3, LU with partial pivoting for n>=4), inverse (Gauss-Jordan), and identity construction. Matrices are arrays of rows (each row an array of finite numbers), capped at 8x8. Preconditions: add/subtract need equal dimensions; multiply needs cols(a) == rows(b); determinant and inverse need a square matrix and inverse additionally needs it to be non-singular. Use math_scientific_calculator for scalar expressions, math_statistics_calculator for dataset statistics, or math_quadratic_solver for polynomial roots. Runs locally on the numbers you provide: read-only, non-destructive, contacts no external service, and is rate-limited (60 requests/minute for anonymous callers). Returns the resulting matrix (array of rows of numbers) for most operations, or a single number for determinant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
operationYesOperation to perform. add/subtract/multiply use a and b; scalarMultiply uses matrix and scalar; transpose/determinant/inverse use matrix; identity uses size.
aNoFirst operand matrix for add, subtract, multiply. Array of rows; each row an array of finite numbers. Max 8 rows and 8 columns; must be rectangular.
bNoSecond operand matrix for add, subtract, multiply. For add/subtract must match the dimensions of a; for multiply rows(b) must equal cols(a).
matrixNoSingle operand matrix for scalarMultiply, transpose, determinant, inverse. Array of rows of finite numbers, max 8x8. determinant and inverse require it to be square.
scalarNoFinite scalar multiplier used only by scalarMultiply.
sizeNoDimension n of the identity matrix to build (n x n). Used only by identity.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
successNoTrue when the calculation succeeded.
operationNoThe operation that was performed, echoed back.
resultNoFor determinant a single number; for all other operations the resulting matrix as an array of rows of numbers.
Behavior4/5

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

Discloses beyond annotations: runs locally, read-only and non-destructive (consistent with annotations), rate-limited (60 requests/min for anonymous), algorithm details for determinant (cofactor vs LU). While annotations already provide readOnlyHint/destructiveHint, description adds operational context like rate limit and local execution. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Well-structured: begins with a summary of operations, then preconditions, then sibling alternatives, and finally behavioral notes. Sentences are efficient but some redundancy exists (e.g., repeated mention of 'finite-precision'). Front-loaded with the tool's core purpose. Could be slightly shorter, but effective overall.

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

Completeness5/5

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

Given the tool's complexity (8 operations, multiple preconditions, siblings), the description covers all necessary aspects: operations list, preconditions, alternatives, rate limit, return types. Output schema exists, so return format detail is sufficient. No gaps in guidance for the agent to misuse the tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with each parameter described, so baseline is 3. Description adds meaningful context by grouping parameters per operation and stating preconditions (e.g., 'add/subtract need equal dimensions', 'inverse needs non-singular matrix'), which is not enforced in the schema alone. This additional guidance helps parameter selection.

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?

Describes specific verb+resource: 'Matrix Calculator' performing finite-precision linear-algebra operations on small matrices. Lists all operations explicitly (add, subtract, multiply, scalarMultiply, transpose, determinant, inverse, identity) and distinguishes from siblings by naming alternatives (math_scientific_calculator, math_statistics_calculator, math_quadratic_solver).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides clear when-to-use context by listing preconditions (e.g., equal dimensions for add/subtract, square matrix for determinant/inverse). Explicitly states when not to use by suggesting alternatives for scalar expressions, statistics, and polynomial roots. Covers both inclusion and exclusion criteria.

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/Jambozx/onlinecybertools-mcp-server'

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