Skip to main content
Glama

x402-matrix-multiply

Matrix Multiply: Multiplies two 2D numeric matrices and returns the product with its row and column counts 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
ANo
BNo
aNo
bNo
matrixANo
matrixBNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / properties / A / description
      Removed value: -"A to process"
    • removedInput schema / properties / B / description
      Removed value: -"B to process"
    • removedInput schema / properties / a / description
      Removed value: -"A to process"
    • removedInput schema / properties / b / description
      Removed value: -"B to process"
    • removedInput schema / properties / matrixA / description
      Removed value: -"MatrixA to process"
    • removedInput schema / properties / matrixB / description
      Removed value: -"MatrixB to process"
  2. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden and mostly does not. It discloses the return shape loosely and adds a payment/trial detail ('5 free trial calls per signed wallet'), which is genuinely new information, but omits the critical behavioral facts: the required input encoding for the matrices, the dimension-compatibility requirement, and what happens on mismatch or when the free trial is exhausted.

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?

Two compact sentences with the operation front-loaded and no filler prose. The trailing emoji/pricing banner is marketing rather than tool semantics, which is minor noise but not enough to harm readability.

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?

With 6 undocumented parameters, no annotations, and no output schema, the description is far too thin for a tool whose inputs are completely unspecified. An agent still cannot determine how to format the matrices or which parameter names to use, so the definition is not sufficient to call the tool reliably.

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

Parameters2/5

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

Schema coverage is 0% with 6 string parameters (A, B, a, b, matrixA, matrixB) and no descriptions anywhere. The description says 'two 2D numeric matrices', which hints at the operand count but does not explain the apparent redundant aliases, which of the six to supply, or the string encoding format expected. With low coverage the description must compensate and it does not.

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?

States a specific verb (multiplies) and resource (two 2D numeric matrices) plus a return hint (product with row/column counts), which clearly separates it from siblings like x402-matrix-add or x402-matrix-transpose. However, it never names a sibling or scoping condition, so differentiation is inferred from the name rather than stated.

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, when-not-to-use, or alternative guidance; the only extra context is a pricing note about free trial calls. An agent must infer from the tool name alone that this is the multiply operation among many matrix siblings.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources