x402-matrix-identity
Matrix Identity: Returns a size x size identity matrix; size defaults to 3 and values above 500 are rejected 🆓 5 free trial calls per signed wallet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No |
Matrix Identity: Returns a size x size identity matrix; size defaults to 3 and values above 500 are rejected 🆓 5 free trial calls per signed wallet
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| size | No |
Changes observed during successful MCP inspections.
Input schema / properties / n / descriptionRemoved value: -"N to process"Input schema / properties / size / descriptionRemoved value: -"Size to process"Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It usefully discloses the default (3) and the hard rejection threshold (>500), plus a pricing/free-trial note, but says nothing about the return shape, error behavior beyond the limit, or whether the call mutates anything.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The functional content is a single front-loaded clause: operation, return shape, default, and limit. The trailing pricing emoji sentence is promotional rather than functional but is brief and doesn't obscure the purpose.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple deterministic math tool with no output schema, the description covers the operation, the default, and the input ceiling, which is most of what an agent needs. The main residual gap is the undocumented 'n' parameter and the absence of any note on how the matrix is serialized in the response.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0% with two parameters, so the description must compensate. It explains 'size' semantics (default 3, rejected above 500), which adds real meaning, but the second parameter 'n' is never mentioned and its relationship to 'size' is left completely ambiguous.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a concrete verb+resource: it returns a size x size identity matrix, which is immediately distinguishable from the many matrix siblings (x402-matrix-zero, x402-matrix-diagonal, etc.) by the 'identity' resource. It doesn't explicitly name or contrast an alternative, but the operation is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no statement of when to use this tool versus the other matrix tools, nor prerequisites or context. The only guidance is a default value and an input limit ('size defaults to 3 and values above 500 are rejected'), which describes the input rather than the usage situation.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.