Skip to main content
Glama

ScorpTech x402 Tools

Byte Sum

byte_sum
Read-onlyIdempotent

The two historic Unix sums, matching GNU sum. bsd rotates the 16-bit sum right and counts 1024-byte blocks. sysv reduces modulo 65535, keeps 65535 when the total is a positive multiple of it, and counts 512-byte blocks. "123456789" is bsd 53615 and sysv 477. Returns JSON with: algorithm, value, hex, blocks, bytes. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: POST https://scorptech.it.com/api/x402/v1/byte-sum

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "byte_sum"
  }
}

Input Schema

NameRequiredDescriptionDefault
hexNo
textNo
algorithmNobsd

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 cover read-only, idempotent, non-destructive, and open-world. The description adds genuinely new behavioral context: a per-call price of $0.001 USDC via x402 on Base or Solana, an equivalent HTTPS endpoint, and the exact JSON return fields (algorithm, value, hex, blocks, bytes). It stops short of describing failure/payment-error behavior, but the paid-call requirement is disclosed up front.

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?

Dense but front-loaded: algorithm semantics and the worked example come first, then return shape, then price/endpoint. Every sentence carries information, though the pricing and URL tail slightly dilutes focus on the computation.

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 3-parameter tool with no output schema, the description supplies the return fields and the algorithm semantics, which covers most needs. It leaves a real gap around the hex vs text inputs (all parameters optional, no precedence rule), which an agent needs in order to call it correctly.

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 does a good job on the algorithm enum (bsd rotates and counts 1024-byte blocks; sysv mod-65535 with 512-byte blocks, plus a worked example), but the hex and text input parameters are never mentioned, and it doesn't say what happens if both or neither are supplied.

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?

The description names the specific resource (the two historic Unix byte sums, GNU-compatible) and defines each variant's rotation/modulus and block size, so an agent knows exactly what is computed. It does not explicitly contrast itself with the many sibling *_sum tools, but the 'byte sum / GNU sum' framing is distinctive enough to separate it from digit_sum or divisor_sum.

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 explains the difference between bsd and sysv and the schema defaults to bsd, so an agent can infer which to pick, but there is no explicit when-to-use/when-not guidance and no mention of when this tool is preferable to a sibling checksum tool.

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