Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-matrix-determinant

Matrix Determinant: Computes the determinant of a 1x1, 2x2, or 3x3 matrix and returns an error for any other size 🆓 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-determinant"
  }
}

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. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose one genuine behavioral trait: it returns an error for matrices larger than 3x3. It says nothing about how results are returned, how failures are surfaced, or what the free-trial limit means for failed calls.

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 sentences with the operation and the size constraint front-loaded; nothing is padded on the technical side. The promotional trailer with the emoji is marketing noise that does not help an agent invoke the tool.

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 no annotations, no output schema, and 0% schema description coverage on two parameters, the description leaves the most callable-relevant detail unanswered: the string encoding of the 2D matrix and the meaning of the undocumented 'm' parameter. The size constraint and error behavior are covered, but input format gaps are serious for a tool that takes a string-encoded matrix.

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?

States a specific verb and resource ('Computes the determinant') plus the exact domain ('1x1, 2x2, or 3x3 matrix'), scoping the size of the input. It does not differentiate from siblings like x402-matrix-trace or say when to use this rather than adjacent matrix operations.

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 ('Computes the determinant') plus the exact domain ('1x1, 2x2, or 3x3 matrix'), which is more precise than the sibling names alone convey. It does not explicitly differentiate itself from siblings like x402-matrix-trace, but the math operation named is unambiguous.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can infer this is the tool for computing determinants of tiny matrices, and the size limit conveys when it will fail. There is no explicit guidance on when to pick this over related matrix tools (trace, identity, is-square) or on prerequisites beyond the payment note.

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.