Skip to main content
Glama

ScorpTech x402 Tools

Sl2 Pow

sl2_pow
Read-onlyIdempotent

The non-negative integer power of a 2 by 2 integer matrix. The exponent 0 is the identity [1, 0, 0, 1]. [1, 1, 0, 1] to the fifth is [1, 5, 0, 1]. [1, 1, 1, 0] to the fifth is [8, 5, 5, 3]. The exponent runs from 0 to 64. Returns JSON with: exp, 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-pow

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>",
      "exp": "<exp>"
    },
    "name": "sl2_pow"
  }
}

Input Schema

NameRequiredDescriptionDefault
expYes
matrixYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds genuinely useful context beyond that: the return shape (exp, value), the cost model ($0.001 USDC per successful call via x402 on Base or Solana), and an alternate HTTPS endpoint. It does not address overflow behavior for large entries at exponent 64, which is the main behavioral risk for this tool.

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 core definition, then constraints and examples, then the payment/transport footer. The two example sentences are the most valuable part and earn their space; the pricing and URL sentences are slightly off-topic for a math tool but still operationally relevant.

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 two-parameter math tool with no output schema, the description supplies the result keys, the domain, the identity convention, and concrete examples, which is enough to call it correctly. The only meaningful gap is unstated behavior for large-integer results near the exponent limit.

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 must carry the load, and it does: it defines exp=0 as the identity and shows worked examples that reveal the flat 4-element matrix is row-major ([1,1,0,1] is an upper-triangular matrix). It does not mention the +/-1,000,000 entry bounds or the maxItems=4 constraint, but the core semantics are well conveyed.

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 operation on a specific resource: the non-negative integer power of a 2x2 integer matrix, reinforced by worked examples ([1,1,0,1]^5 = [1,5,0,1]). It never names sibling operations like sl2_mul or sl2_inv, so an agent must infer the distinction from the math itself rather than from explicit differentiation.

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 through the examples and the stated exponent domain (0 to 64). There is no explicit guidance on when to prefer this over repeated sl2_mul calls or over quat_pow/mod_pow, and no stated preconditions beyond the parameter bounds.

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