Skip to main content
Glama

x402-carmichael-function

Carmichael Function: Carmichael Function

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoN to process

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / n
      Added value: +{
      +  "description": "N to process",
      +  "type": "string"
      +}
  2. First observed

TDQS

D1.9/5.0
Behavior1/5

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

With no annotations, the description carries the full behavioral burden, yet it discloses nothing: no note on whether the input must be a positive integer, how the result is returned (numeric vs factored form), how large n can be, or what happens for invalid input. A pure name restatement adds zero behavioral context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is extremely short but that brevity reflects under-specification rather than tight editing. There is no front-loaded statement of purpose, verb, or output, so nothing earns its place because nothing was said.

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

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations, no output schema, and only a tautological description leave an agent with no information about what the function computes or returns. For a mathematical function whose semantics are not derivable from the name alone by all callers, this is completely inadequate.

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 description coverage is 100%, so the single parameter 'n' is documented in the schema (albeit unhelpfully as 'N to process'). Per the rubric, high coverage sets the baseline at 3 even when the description adds no parameter meaning; the description here indeed adds nothing about what n represents.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a bare tautology, restating the tool name/title twice ('Carmichael Function: Carmichael Function') with no verb, no explanation of what is computed, and no differentiation from the many sibling number-theory tools such as x402-euler-phi or x402-is-carmichael.

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?

No when-to-use guidance is given at all. It does not indicate that this computes lambda(n) for a number, nor mention prerequisites, expected input range, or any alternative tool (e.g. x402-is-carmichael, which tests membership rather than computing the value).

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