Skip to main content
Glama

x402-matrix-diagonal

Matrix Diagonal: Diagonal of matrix. 🆓 5 free trial calls per signed wallet

Input Schema

NameRequiredDescriptionDefault
mNo
matrixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / m / description
      Removed value: -"M to process"
    • removedInput schema / properties / matrix / description
      Removed value: -"Matrix to process"
  2. Changed2 schema fields changed
    • addedInput schema / properties / m
      Added value: +{
      +  "description": "M to process",
      +  "type": "string"
      +}
    • addedInput schema / properties / matrix
      Added value: +{
      +  "description": "Matrix to process",
      +  "type": "string"
      +}
  3. First observed

TDQS

D1.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It discloses one useful behavioural fact — 5 free trial calls per signed wallet, implying wallet-based metering and possible payment after the trial — but says nothing about input format, output shape, or error handling for non-square input.

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

Conciseness3/5

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

The text is short and front-loaded, so nothing is padded. However, the brevity comes from omission rather than discipline: the one informative clause is the pricing note, while the operation itself is left unexplained.

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

Completeness1/5

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

For a tool with two undocumented ambiguous parameters, no annotations, and no output schema, the description omits everything an agent needs: matrix encoding, square-matrix requirement, and return format. Only the payment/trial note is present.

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

Parameters1/5

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

Schema description coverage is 0% for both parameters, and the description adds nothing. The two params "m" and "matrix" are untyped strings with no explanation of which to use, whether both are accepted, or how a matrix should be encoded (rows, delimiters, JSON, CSV). An agent cannot reliably construct a call.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Matrix Diagonal: Diagonal of matrix" restates the tool name rather than describing the operation: it does not say whether it extracts the main diagonal, accepts a square matrix only, or returns a list. With sibling tools like x402-matrix-trace, x402-matrix-determinant, and x402-matrix-shape in the catalog, an agent gets no basis for telling them apart.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no prerequisites (e.g. square matrix), and no reference to alternatives such as x402-matrix-trace. The only extra sentence concerns free trial calls, which is billing information, 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