Skip to main content
Glama

ScorpTech x402 Tools

Sl2 Trace

sl2_trace
Read-onlyIdempotent

The trace a+d of a 2 by 2 integer matrix [a, b, c, d]. The trace of [1, 1, 0, 1] is 2, and the trace of [8, 5, 5, 3] is 11. Returns JSON with: value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sl2-trace

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": "sl2_trace"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description goes beyond that by disclosing the cost model ($0.001 USDC per successful call via x402 on Base or Solana) and the equivalent HTTPS endpoint, which are operationally important facts the agent cannot get from structured fields; it only lightly covers the return payload ('JSON with: value'), which matters since there is no output schema.

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 front-loaded and proceeds in a logical order: what it computes, worked examples, return shape, price, alternate transport. Every sentence is functional; the second numeric example is arguably redundant with the first, but it cheaply disambiguates the a+d reading for non-diagonal matrices.

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

Completeness4/5

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

For a one-parameter arithmetic primitive with no output schema, the description supplies the computation, the array layout, an example result, the return key, and the payment/transport details — enough to invoke it correctly. Remaining gaps (behavior on out-of-range or non-length-4 input, what a failed paid call returns) are minor for a tool this simple.

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?

Schema coverage is 0% — the single 'matrix' property is an undocumented array of four integers — so the description must carry the semantics, and it does: '[a, b, c, d]' establishes the positional layout and 'a+d' states which elements matter. It does not restate the required-ness or the ±1,000,000 bounds, but the critical ambiguity (element ordering) is resolved.

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 gives a specific verb-and-resource definition — 'the trace a+d of a 2 by 2 integer matrix [a, b, c, d]' — plus two worked examples, so the agent knows exactly what computation is performed. It never names the sibling operations (sl2_det, sl2_inv, sl2_mul, sl2_pow) that a confused agent might otherwise pick, so differentiation relies on the reader knowing what 'trace' means rather than on explicit routing.

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: the mathematical definition makes the applicable case self-evident to a knowledgeable caller, and the pricing note hints at the paid-call context. There is no explicit 'use this when…' clause and no exclusion pointing to sl2_det or sl2_mul for related matrix work, so an unsure agent gets no routing help.

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