Skip to main content
Glama

ScorpTech x402 Tools

Sl2 Det

sl2_det
Read-onlyIdempotent

The determinant ad-bc of a 2 by 2 integer matrix [a, b, c, d]. The determinant of [1, 1, 0, 1] is 1, and the determinant of [2, 0, 0, 3] is 6. 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-det

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_det"
  }
}

Input Schema

NameRequiredDescriptionDefault
matrixYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive), but the description adds material context beyond them: the return shape ('value'), a per-call price of $0.001 USDC via x402 on Base or Solana, and an equivalent HTTPS endpoint. Cost and payment-protocol disclosure is exactly the kind of behavioral detail annotations cannot carry.

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?

Front-loaded with the definition, then two concrete worked examples that anchor the element ordering, followed by return shape, pricing, and endpoint. Dense but every sentence adds information; minor cost is the slightly cluttered pricing/endpoint tail.

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, single-output math tool with no output schema, the description supplies the formula, the element ordering, the returned key, and the payment model. The only gap is edge-case behavior for malformed or short input arrays.

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%, so the description carries the burden, and it does explain that the four-element array is [a, b, c, d] with the determinant computed as ad-bc, implying the [[a,b],[c,d]] layout. It does not address the absence of a minItems constraint (maxItems is 4), leaving short-array behavior undefined.

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

Purpose5/5

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

States a specific operation and the exact formula ('The determinant ad-bc of a 2 by 2 integer matrix [a, b, c, d]'), including the flat element ordering, which distinguishes it from siblings like sl2_trace, sl2_inv, or sl2_mul without opening any schema.

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?

There is no when-to-use guidance, no exclusion conditions, and no reference to alternatives such as sl2_trace or sl2_mul. Use is only implied by the formula itself, which is a weak substitute for routing 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