Skip to main content
Glama

ScorpTech x402 Tools

Square Part

square_part
Read-onlyIdempotent

The largest square dividing n. 1 gives 1, 8 gives 4, 12 gives 4, and 18 gives 9. 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-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_part"
  }
}

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and open-world, so the safety profile is covered; the description adds genuinely new operational context: the valid input range, the exact response fields (n, value), the $0.001 USDC x402 price per successful call, and an equivalent HTTPS endpoint. The one meaningful omission is what happens on payment failure or on an out-of-range n.

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, then domain, then return shape, then commercial terms — a sensible information gradient. The pricing and endpoint sentences are dense but each carries information an agent needs before calling, so nothing is padding.

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

Completeness3/5

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

Covers input domain, return field names, cost and transport, which is a lot for a one-parameter tool with no output schema. However, the description never explains what 'value' contains beyond the name, nor payment/error behavior, leaving the agent to infer the result semantics from the examples.

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%, so the description must carry the parameter alone. It does communicate that n is the integer whose largest square divisor is returned and restates the 1–1,000,000,000,000 domain, but that bound is already in the schema and no format or edge-case meaning (e.g., behavior at perfect squares) is added.

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 mathematical operation ('The largest square dividing n') with worked examples (1→1, 8→4, 12→4, 18→9) that pin down the semantics unambiguously. It doesn't reference the near-identical siblings like square_free_part or squarefree_part, so an agent must infer differentiation from the names alone.

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 examples and the stated domain of n show the tool computes one specific quantity, which implicitly tells the agent when it applies. There is no explicit when-to-use framing, no mention of when a different square-related sibling would be the right choice, and no stated failure conditions.

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