Skip to main content
Glama

ScorpTech x402 Tools

Arithmetic Second

arithmetic_second
Read-onlyIdempotent

The second arithmetic derivative of n. 6 goes 5 then 1. 8 goes 12 then 16. 4 stays 4. 0 and 1 stay 0. n runs from 0 to 1000000. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/arithmetic-second

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": {
      "n": "<n>"
    },
    "name": "arithmetic_second"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds important context beyond that: pricing ($0.001 USDC per successful call), the x402/Solana payment mechanism, an alternate HTTPS endpoint, the valid input range, and deterministic examples.

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 operation and compact examples, followed by practical payment and endpoint details. Most sentences earn their place, though the pricing/endpoint block is slightly operational rather than conceptual.

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 function with read-only/idempotent annotations and no output schema, the description is largely complete: it defines the operation, domain, examples, pricing, and alternate access route. The return type is only implied by examples, but that is a minor gap.

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 carry parameter meaning. It does give the domain ('n runs from 0 to 1000000') and examples, but that range is already encoded in the schema's minimum and maximum, and it adds little about the integer type or edge-case behavior beyond the provided examples.

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?

The description names the exact mathematical operation: the second arithmetic derivative of n. The word 'second' distinguishes it from the first-derivative sibling arithmetic_derivative, and the examples reinforce what the operation computes.

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?

It never says when to use this tool versus arithmetic_derivative or other arithmetic siblings, nor does it state any exclusions or prerequisites. Usage is only implied by the mathematical definition.

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