Skip to main content
Glama

ScorpTech x402 Tools

Cas Validate

cas_validate
Read-onlyIdempotent

CAS Registry Number check digit. Two to seven digits, a hyphen, two digits, a hyphen and a check digit. No leading zero. From the right, digits are weighted 1, 2, 3 and the total mod 10 is the check. A number typed without hyphens is split the same way. This does not look the substance up. Returns JSON with: valid, compact, kind, reason, check. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/cas-validate

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": {
      "value": "<value>"
    },
    "name": "cas_validate"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, open-world, so the bar is lower; the description still adds real context: price of $0.001 USDC per successful call via x402 on Base or Solana, the returned field list, and an equivalent HTTPS endpoint. It does not say what happens on an unsuccessful (unpaid) call or how failures are reported beyond the 'reason' field.

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 purpose, then format, then exclusions, then return and pricing details. The check-digit weighting algorithm ('weighted 1, 2, 3 and total mod 10') is not needed to invoke the tool and is the one sentence that does not fully earn its place.

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?

No output schema exists, yet the description enumerates the return keys (valid, compact, kind, reason, check), and it also covers cost, payment rail, and an alternate transport. For a single-parameter validator this leaves nothing an agent needs missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the full burden and does: it defines the exact character pattern, the no-leading-zero rule, the optional-hyphen normalization behavior, and the 20-char max is consistent with the stated format. An agent can construct a valid 'value' from the description alone.

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?

Names the specific verb and resource ('CAS Registry Number check digit') and explicitly bounds scope with 'This does not look the substance up,' which separates it from a registry lookup tool and from the identifier-validator siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States the acceptance shape (2-7 digits, hyphen, 2 digits, hyphen, check digit), notes hyphenless input is accepted, and excludes substance lookup. It does not name alternative tools, but the siblings are distinct identifier types so routing is largely self-evident from the resource name.

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