Skip to main content
Glama

ScorpTech x402 Tools

Carmichael

carmichael
Read-onlyIdempotent

Carmichael's lambda of n, the exponent of the multiplicative group mod n. lambda(1) is 1, lambda(8) is 2, lambda(p) is p-1, and lambda(15) is 4. n runs from 1 to 1000000000000. 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/carmichael

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

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 declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false, covering the safety profile. The description adds valuable context beyond annotations: pricing ($0.001 USDC per successful call via x402, Base or Solana), an alternate HTTPS endpoint, and the return shape (JSON with n and value). It does not mention authentication details beyond the payment protocol or rate limits, but the key behavioral traits are well disclosed.

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 description is front-loaded with the core definition and examples, followed by practical details like range, return format, price, and endpoint. Each sentence carries useful information, with no filler or repetition. It could be slightly tighter, but the structure 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 single-parameter mathematical function with rich annotations and no output schema, the description covers the essential context: what it computes, valid input range, example outputs, return shape, pricing, and an alternate endpoint. It does not describe error behavior for out-of-range n, but that is a minor omission for a tool of this complexity.

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?

There is one parameter (n) with 0% schema description coverage, so the schema only supplies type and bounds. The description restates the range (1 to 1,000,000,000,000) and gives examples that implicitly define n as the input to lambda, but it does not explain the meaning of n beyond that. The added value is modest and partially redundant with the schema's minimum/maximum.

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 states a precise mathematical operation: Carmichael's lambda of n, the exponent of the multiplicative group mod n. It includes concrete examples (lambda(1)=1, lambda(8)=2, lambda(p)=p-1, lambda(15)=4) that make the function unambiguous. An agent can immediately tell this is the core Carmichael function evaluator, distinct from variants like carmichael_count or carmichael_next.

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 gives no explicit guidance on when to use this tool versus the numerous sibling tools such as carmichael_count, carmichael_factors, or carmichael_sum. It also offers no exclusions or alternative-condition routing. Usage is only implied by the function definition itself.

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