Skip to main content
Glama

ScorpTech x402 Tools

Negabinary

negabinary
Read-onlyIdempotent

The base -2 digits of n, without a leading zero except for 0 itself. 0 is "0", 1 is "1", 2 is "110", 4 is "100", and 6 is "11010". n runs from 0 to 999999999999. 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/negabinary

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

Input Schema

NameRequiredDescriptionDefault
nYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and open-world, so the safety profile is covered. The description adds genuinely new behavior: the JSON return shape (n, value), the $0.001 USDC x402 price per successful call, the accepted chains (Base or Solana) and the equivalent HTTPS endpoint. It does not explain what the 'value' field's exact type is, which is the one remaining gap.

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 of the operation and its edge case (0 itself) come first, followed by examples, the domain, the return shape and then pricing/transport. Dense but every clause carries information; the pricing and endpoint sentence is a slight tail-append but still earns its place.

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

Completeness4/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 supplies the range, the semantics, the output fields, the cost and an alternate transport. The only omission is clarifying that 'value' is the digit string rather than an integer, a minor detail for a tool this simple.

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 coverage is 0% for the single parameter, so the description must carry the burden — and it does: it restates the valid range (0 to 999999999999) and gives four input-to-output examples that pin down what n means. It does not name the parameter explicitly, but the mapping is unambiguous.

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 concrete computation — the base -2 digits of n, with a leading-zero rule — and grounds it with worked examples (0 -> "0", 2 -> "110", 6 -> "11010"). That is enough for an agent to tell this apart from siblings like negabinary_decode or negabinary_len without opening a 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 implied by the domain bound (n from 0 to 999999999999) and the digit-string output, but there is no explicit when-to-use statement and no routing to nearer siblings such as negabinary_decode or negabinary_bits. An agent can infer the context but is not told exclusions.

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