Skip to main content
Glama

x402-matrix-sub

Matrix Sub: Subtracts matrix B from matrix A element by element 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
aNo
bNo
m1No
m2No

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 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 / m1 / description
      Removed value: -"M1 to process"
    • removedInput schema / properties / m2 / description
      Removed value: -"M2 to process"
  2. Changed4 schema fields changed
    • addedInput schema / properties / a
      Added value: +{
      +  "description": "A to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / b
      Added value: +{
      +  "description": "B to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / m1
      Added value: +{
      +  "description": "M1 to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / m2
      Added value: +{
      +  "description": "M2 to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden. It does not state the expected matrix encoding (JSON array string? whitespace grid?), what happens on dimension mismatch, or what the response contains. Only the trial-call pricing note adds any behavioral context.

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?

Front-loaded with the operation in a single compact sentence. The emoji promo is minor padding but does not bury the core meaning.

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?

For a tool with four undocumented parameters, no annotations, and no output schema, the description is far too thin. An agent cannot reliably determine input format, which parameters to populate, or what a successful call returns.

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 description coverage is 0% with four string parameters (a, b, m1, m2). The description mentions matrix A and B, which loosely maps to two of them, but says nothing about the m1/m2 parameters or which pair is actually required (all are optional). The ambiguity between a/b and m1/m2 is left 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?

States a specific verb and resource: 'Subtracts matrix B from matrix A element by element'. This distinguishes it conceptually from siblings like x402-matrix-add or x402-matrix-multiply, though it never names them explicitly.

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 on when to use this versus the many other matrix tools in the sibling list, and no prerequisites or input-format expectations. The trailing promo about free trial calls is not usage guidance.

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