Skip to main content
Glama

ScorpTech x402 Tools

Quat Inv

quat_inv
Read-onlyIdempotent

Inverse of a quaternion, the conjugate divided by the squared length. (1, 2, 3, 4) inverts to (1/30, -1/15, -1/10, -2/15). Zero has no inverse. Returns JSON with: w, x, y, z. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/quat-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": {
      "q": "<q>"
    },
    "name": "quat_inv"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/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 real value beyond them: the failure condition (zero has no inverse), the returned field names (w, x, y, z), the x402 price of $0.001 USDC per successful call, and an alternate HTTPS endpoint.

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 with the core semantics and formula, followed by a concrete example and then operational details. Every sentence carries information; the pricing and endpoint sentences are slightly tangential but operationally relevant to calling the tool.

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 single-parameter math tool with no output schema, the description covers the operation, the edge case, the example, and the return shape (w, x, y, z). The only mild gap is not spelling out explicitly that the input array is ordered w, x, y, z, which is left to be inferred from the example.

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% and the schema only says 'array of 4 strings', so the description must carry the load. The worked example (1, 2, 3, 4) → (1/30, -1/15, -1/10, -2/15) implicitly establishes element order (w, x, y, z) and that components are numeric strings, which the schema does not convey.

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 on a specific resource ('Inverse of a quaternion') and even gives the exact mathematical definition (conjugate divided by squared length), which unambiguously separates it from siblings like quat_mul, quat_norm, and quat_conj-style tools.

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 implied by the math (compute the inverse of a given quaternion), and the edge case 'Zero has no inverse' is a useful precondition. However, there is no explicit when-to-use/when-not guidance or routing to alternatives such as quat_norm or quat_pow, so the agent must infer the selection context.

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