Skip to main content
Glama

ScorpTech x402 Tools

Domb Gcd

domb_gcd
Read-onlyIdempotent

The greatest common divisor of D(n) and D(n+1). n=0 gives 1, n=1 gives 4, and n=6 gives 64. n runs from 0 to 11. Returns JSON with: n, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/domb-gcd

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": "domb_gcd"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, and non-destructive behavior. The description adds useful non-schema context: the JSON return fields, the paid x402 model at $0.001 USDC per successful call, and an HTTPS endpoint. It does not explain error or payment-failure behavior, but the added cost and response details are meaningful beyond the annotations.

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 computation and then layers in examples, range, return shape, price, and endpoint. Each sentence is useful, though the HTTPS endpoint line is slightly ancillary. Overall it is efficient and easy to scan.

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 simple one-parameter math tool with no output schema, the description provides the computation, domain, examples, return fields, pricing, and endpoint. It is complete enough to call correctly, though it could better define D(n) and mention payment/error expectations for a paid x402 tool.

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 parameter meaning. It supplies the valid range for n (0 to 11) and concrete example values for n=0, n=1, and n=6, which helps an agent understand what the index controls and what outputs to expect. It could go further by defining what D(n) denotes, but it compensates reasonably for the empty schema documentation.

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?

The description states a specific computation: the greatest common divisor of D(n) and D(n+1). This is clear enough to distinguish it from generic Domb tools, but it does not explicitly name a sibling or say when to prefer this over related gcd tools such as duffinian_gcd or franel_gcd.

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 precise mathematical definition and the stated domain n=0..11. However, there is no explicit guidance about when to use this tool versus the many sibling gcd and Domb-related tools, and no exclusions or alternative routing are provided.

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