Skip to main content
Glama

ScorpTech x402 Tools

Mode Diff

mode_diff
Read-onlyIdempotent

Bits that differ between two POSIX modes. added and removed run from the special bits down through owner, group and other. same is true when nothing differs. Returns JSON with: from, to, added, removed, same. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/mode-diff

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "mode_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYes
fromYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Beyond the readOnly/idempotent annotations, the description discloses the ordering semantics of the result (added and removed run from special bits down through owner, group, other), the meaning of the 'same' field, and, importantly, that each successful call costs $0.001 USDC via x402 on Base or Solana. That payment and auth requirement is real behavioral context an agent must know before calling.

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 purpose is front-loaded in the first sentence, and the remaining sentences cover ordering, return shape, and access details without padding. The phrasing 'added and removed run from the special bits down through owner, group and other' and 'same is true when nothing differs' is slightly awkward but earns its place.

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?

The description lists the returned JSON fields, which compensates for the missing output schema, and it explains the payment model. However, for a tool whose entire correctness depends on how the two input mode strings are formatted, the absence of any input-format guidance is a notable completeness gap.

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

Parameters2/5

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

Schema description coverage is 0% for the two required parameters, and the description only mentions 'from' and 'to' as return fields, not as inputs. It never explains the expected mode-string syntax (octal like '0644' vs symbolic like 'rwxr-xr-x') despite the 16-character max length, leaving the key ambiguity unresolved.

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 states a specific operation on a specific resource: computing which bits differ between two POSIX modes. The POSIX-mode domain distinguishes it from generic diff siblings like json_diff or text_diff, but it never explicitly names or contrasts an alternative tool, so it falls short of full sibling differentiation.

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?

There is no guidance on when to use this versus file_mode, umask_mode, or the other diff tools, and no stated preconditions for the inputs. The only contextual information is commercial (price and alternate HTTPS endpoint), which does not help an agent choose between 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