Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description does add real behavioral context beyond them: the $0.001 USDC x402/Solana price per successful call and a parallel HTTPS endpoint, which matter for planning and cost.

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 operation and formula, followed by examples, then pricing/transport. Nearly every sentence earns its place; the payment/endpoint sentence is useful operational detail rather than padding.

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?

With no output schema, the description makes the return value obvious (the integer determinant) via the formula and examples. For a one-parameter math tool with annotations covering safety, that is close to complete, though edge-case behavior for malformed input arrays is unstated.

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 coverage is 0%, and the single 'matrix' parameter is only typed as an integer array with maxItems 4 and no minItems. The description compensates by defining the element order as [a, b, c, d] and demonstrating it with examples, which is the crucial semantic. It does not address arrays shorter than four elements or the range limits.

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 verb+resource (computes the determinant) and even gives the formula ad-bc plus the exact input convention [a,b,c,d]. It does not differentiate itself from close siblings like sl2_trace, sl2_mul, sl2_inv, or matrix_ops, so an agent must infer the distinction.

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?

The two worked examples ([1,1,0,1]→1, [2,0,0,3]→6) clarify input interpretation but say nothing about when to choose this over sl2_trace or matrix_ops. There are no exclusions, prerequisites, or alternative-selection 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