Skip to main content
Glama

ScorpTech x402 Tools

Sl2 Inv

sl2_inv
Read-onlyIdempotent

The inverse of a 2 by 2 integer matrix whose determinant is 1 or -1. The inverse of [1, 1, 0, 1] is [1, -1, 0, 1]. Any other determinant is rejected. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sl2-inv

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

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?

Annotations already declare this as read-only, idempotent, open-world, and non-destructive. The description adds useful behavioral context beyond annotations: rejection of invalid determinants, per-call payment cost, and the HTTPS endpoint alias.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the core operation and determinant constraint, followed by a concrete example and then payment/endpoint details. Every sentence adds relevant information without unnecessary verbosity.

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 simple read-only math tool with one parameter and no output schema, the description is largely complete: it states the domain, gives an example, explains rejection behavior, and mentions cost/endpoint. The main remaining gap is that the exact matrix layout is only implied by the example.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate for the single matrix parameter. The example [1, 1, 0, 1] -> [1, -1, 0, 1] helps clarify the expected four-integer representation, but it does not explicitly define row-major ordering or fully explain the parameter semantics.

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-resource pair: computes the inverse of a 2x2 integer matrix, with the determinant restricted to 1 or -1. It is clear what the tool does, though it does not explicitly contrast itself with siblings such as sl2_det or matrix_ops.

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?

It states an important precondition and rejection rule: the matrix determinant must be 1 or -1, otherwise the call is rejected. However, it does not explicitly say when to use this instead of related sibling tools, so the usage guidance remains implicit.

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