Skip to main content
Glama

ScorpTech x402 Tools

Franel Gcd

franel_gcd
Read-onlyIdempotent

The greatest common divisor of F(n) and F(n+1). n=0 gives 1, n=1 gives 2, and n=6 gives 16. n runs from 0 to 15. 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/franel-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": "franel_gcd"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.5/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 genuinely new behavioral facts beyond them: the JSON return keys (n, value), the deterministic sample outputs, and the per-call pricing/transport model. The x402 payment requirement and the alternate HTTPS endpoint are exactly the kind of context an agent cannot get from structured fields.

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?

Front-loaded with the definition, then examples, domain, return shape, price, and endpoint in a tight sequence of short clauses. Every element earns its place for a paid call, though the price/URL tail makes it feel more like a service listing than a tool spec.

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?

There is no output schema, and the description compensates by naming the returned fields, so return values are covered. Domain, edge examples, cost, and transport are all present; the only real gap is that 'F(n)' is never defined, which for a pure-math tool leaves the actual computation opaque.

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 coverage is 0% — the schema only encodes integer bounds 0–15 with no description of n — so the description must compensate. It partially does, restating the domain and giving three worked examples that reveal what n means, but it never defines the underlying sequence, so an agent cannot predict values for arbitrary n.

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 specific mathematical object: the gcd of F(n) and F(n+1), with concrete example values (n=0→1, n=6→16) that pin down the sequence behavior. It is clearly a different operation from siblings like domb_gcd or duffinian_gcd by virtue of naming F(n), though it never spells out what 'F' denotes or explicitly distinguishes itself from those siblings.

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?

The description supplies a valid input domain (n from 0 to 15) and sample values, which is invocation guidance, but it gives no when-to-use/when-not-to-use guidance and never points to an alternative tool. An agent must infer that this is the single-value variant versus franel_sum or franel_mod purely from the name.

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