Skip to main content
Glama

ScorpTech x402 Tools

Square Free Part

square_free_part
Read-onlyIdempotent

n divided by its largest square factor. 12 gives 3, 18 gives 2, 36 gives 1, and 45 gives 5. 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/square-free-part

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the bar is lower, and the description adds genuinely non-structural behavior: the return payload keys (n, value), a cost of $0.001 USDC per successful call, the payment rails (x402 on Base or Solana), and an equivalent HTTPS endpoint. What it omits is failure behavior — whether a rejected or out-of-range call is billed and what an error response looks like — which matters for a paid call.

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: the mathematical rule comes first, then examples, then range, then return shape, then pricing and endpoint. Every sentence carries distinct information, though the four examples are more than strictly needed to convey a single rule and the pricing/endpoint sentence is dense enough to be split.

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

Completeness5/5

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

For a one-parameter pure function with no output schema, the description covers the computation, the domain of valid inputs, the return keys, the monetary cost, and an alternate transport. Nothing an agent needs in order to call this correctly and interpret the result is missing.

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%, but there is only a single parameter whose type and bounds (integer, 1 to 10^12) are already encoded in the schema. The description supplies the missing semantic layer by defining n's role in the operation and restating the valid range, so an agent knows what the value means rather than just its type; no format or edge-case detail is added beyond that.

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 the exact computation ("n divided by its largest square factor") and backs it with four worked examples (12→3, 18→2, 36→1, 45→5), which resolves the ambiguity of the term 'square free part' unambiguously. An agent can predict the output for any input without opening the schema.

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 only implied: the description makes clear this is a pure numeric function on a single positive integer, so an agent can infer it applies whenever that reduction is wanted. There is no explicit when-to-use framing, no statement of when a different tool would be preferable, and no mention of error conditions such as out-of-range input, despite near-identically named siblings that an agent cannot disambiguate from this text.

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