Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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 readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds real value beyond that with pricing ($0.001 USDC per successful call via x402 on Solana) and a documented HTTPS fallback endpoint. It stops short of describing failure behavior for out-of-range n or error/response semantics.

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?

Four tight clauses front-loaded with the definition, then examples, then domain, then cost/transport. No filler; the only arguable redundancy is restating the 0-11 range already enforced by the schema's minimum/maximum.

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 one parameter and no output schema, the description supplies example outputs that effectively stand in for a return-value spec, plus pricing and transport details. The remaining gap is that 'D(n)' is never expanded, which matters for an agent unfamiliar with the Domb sequence.

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%, so the description must carry the parameter burden, and it does: n is the index into the sequence, bounded 0-11, with worked values (n=0→1, n=1→4, n=6→64) that let an agent sanity-check output. It repeats the schema's min/max but goes beyond it by anchoring n to concrete results.

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 precise operation ('greatest common divisor of D(n) and D(n+1)') with a concrete parameter domain, so an agent knows exactly what is computed. It never defines what D(n) is (Domb numbers), and it does not explicitly contrast itself with siblings like domb, domb_term, or franel_gcd, so differentiation is only implicit.

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?

The valid range 'n runs from 0 to 11' plus sample values give enough context to call it correctly, but there is no guidance on when to pick this over domb, domb_sum, domb_term, or the other gcd-family tools. Usage is implied by the single-argument nature rather than stated.

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