Skip to main content
Glama

ScorpTech x402 Tools

Harshad

harshad
Read-onlyIdempotent

Whether n is a base-10 Harshad number: n is divisible by the sum of its decimal digits. 18 is Harshad, and 11 is not. n runs from 1 to 999999999999999. Returns JSON with: n, sum, value. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/harshad

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare this as read-only, idempotent, non-destructive, and open-world. The description adds useful context such as input range, return field names, pricing, and the HTTPS endpoint, but it does not clarify what the returned 'value' field means or its type.

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 compact and front-loads the core definition, examples, constraints, return fields, and access details. The repeated numeric range mostly duplicates the schema, and the ambiguous 'value' field slightly reduces clarity.

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?

For a simple one-parameter predicate, the description covers the core definition, examples, range, pricing, and endpoint. However, without an output schema, it should more clearly specify the return structure and the meaning/type of 'value'.

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 0%, so the description must carry parameter meaning. It explains that n is the integer being tested and repeats the 1 to 999999999999999 range, but it does not add much beyond the mathematical definition and schema constraints.

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 specific mathematical predicate: whether n is a base-10 Harshad number, defined as divisible by the sum of its decimal digits. The base-10 qualifier also helps distinguish it from a base-parameterized sibling such as harshad_base.

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 explains what the tool computes but gives no explicit when-to-use guidance, exclusions, or alternatives. An agent can infer that it is for testing the property, but there is no routing guidance against sibling tools.

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