Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-matrix-trace

Matrix Trace: Returns the trace of a square matrix, the sum of its main diagonal 🆓 5 free trial calls per signed wallet

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "matrix": "<matrix>"
    },
    "name": "x402-matrix-trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
mNo
matrixYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / required
      Added value: +[
      +  "matrix"
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / m / description
      Removed value: -"M to process"
    • removedInput schema / properties / matrix / description
      Removed value: -"Matrix to process"
  3. 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"
      +}
  4. First observed

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the full behavioral burden falls on the description. It signals that the matrix must be square, but does not say what happens for non-square input (error vs. truncation), whether the result is an integer or float, or anything about the wallet-signing/payment flow beyond a trial count. That is thin for an unannotated tool.

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?

The definition is a single tight sentence with the core meaning front-loaded, and the parenthetical gloss on "trace" earns its place. The emoji pricing note is slightly promotional but is short and conveys real gating information.

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 no annotations, no output schema, zero parameter description coverage, and an undocumented string encoding for the matrix, the description is too thin. It cannot be called correctly without guessing the matrix string format or the role of "m".

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% and neither parameter is documented. The description implies that "matrix" is the square matrix and that it is supplied as a string, but never explains the string encoding (JSON array, comma-separated rows, etc.), and the second parameter "m" is left entirely unexplained. This is the largest gap in the definition.

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 uses a clear verb-plus-resource framing ("Returns the trace of a square matrix") and even defines the term for agents unfamiliar with linear algebra. It stops short of distinguishing the tool from nearby siblings such as x402-matrix-diagonal, which returns the diagonal elements rather than their sum.

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 is given on when to choose this tool over the many other matrix siblings, and there are no prerequisites or exclusions. The only conditional statement is a commercial one (5 free trial calls per signed wallet), which says nothing about call selection.

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