Skip to main content
Glama

ScorpTech x402 Tools

Parking Witness

parking_witness
Read-onlyIdempotent

The first 1-based place where the sorted preferences exceed the place, or 0 when the list is a parking function. (1,1) gives 0. (2,2) gives 1. (3,3,1) gives 2. The list has 1 to 8 entries, each from 1 to 8. 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/parking-witness

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": {
      "prefs": "<prefs>"
    },
    "name": "parking_witness"
  }
}

Input Schema

NameRequiredDescriptionDefault
prefsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive behavior. The description adds useful non-annotation context: 1–8 input bounds, return fields (n, value), a per-call price, x402 networks, and an HTTPS endpoint. It still does not explain payment/auth flow or error behavior, so it is not a 5.

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 front-loads the core definition, then adds examples, constraints, return fields, payment terms, and endpoint in compact sequence. It is dense but every block is relevant; the opening definition is slightly technical but not padded.

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 math tool with no output schema, the description supplies the computation, examples, input domain, and return keys. The main omission is that the output key n is not defined, and failure/payment mechanics are only mentioned at a high level.

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 description coverage is 0%, so the description must carry parameter meaning; it identifies prefs as a preference list, states 1–8 entries each 1–8, and examples show that sorting is internal and order can vary. For a single parameter this is strong compensation, though it could clarify related output semantics.

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 defines a specific mathematical operation—the first 1-based index where sorted preferences exceed their position, else 0—and gives three concrete input/output examples. It does not explicitly differentiate this from sibling parking* tools, so it is clear on purpose but not on sibling routing.

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?

The definition and examples imply when the tool is applicable, but there is no explicit when-to-use/when-not guidance or named alternative among parking, parking_moved, parking_shift, or parking_spots. An agent must infer selection from the math description alone.

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