Skip to main content
Glama

ScorpTech x402 Tools

Sigma K

sigma_k
Read-onlyIdempotent

The sum of the kth powers of the divisors of n. sigma_2(1) is 1, sigma_2(6) is 50, and sigma_2(12) is 210. n runs from 1 to 1000000000000, and k runs from 2 to 12. Past 15 digits the value is a decimal string. Returns JSON with: n, k, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/sigma-k

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>",
      "k": "<k>"
    },
    "name": "sigma_k"
  }
}

Input Schema

NameRequiredDescriptionDefault
kYes
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, and the description adds genuinely new context: results past 15 digits become decimal strings, the response contains n, k, value, and each successful call costs $0.001 USDC via x402 on Base or Solana, with a matching HTTPS endpoint. Cost and payment-protocol disclosure is material behavior an agent could not infer from the annotations; only error/edge-case behavior is left unstated.

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 formula, followed by examples, domain bounds, output format, then cost and endpoint. Nearly every sentence carries useful information; only the example triplet is arguably redundant, though it serves as a quick sanity check on expected outputs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 supplies the return shape (n, k, value) and the format caveat for large values, plus pricing and the equivalent HTTPS route. For a two-parameter pure-math tool, this is sufficient for an agent to call and interpret results correctly.

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 description coverage is 0%, so the description must carry the burden, and it does: n is the integer whose divisors are summed, k is the exponent applied to each divisor, and the valid ranges are restated. It stops short of clarifying boundary behavior (e.g., performance or result shape at the extremes of n) but the core meaning of both parameters is fully conveyed.

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 gives the exact mathematical definition (sum of the kth powers of the divisors of n) plus three worked examples, so the tool is unambiguously identified. The formula also implicitly separates it from the unitary/infinitary/biunitary sigma siblings, which use different divisor sets.

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 mathematics and by the stated input bounds (n from 1 to 1000000000000, k from 2 to 12), which tell the agent when the call is valid. However, there is no explicit routing guidance such as when to prefer this over unitary_sigma, exp_sigma, or biunitary_sigma, and no statement of what happens on out-of-range input.

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