Skip to main content
Glama

ScorpTech x402 Tools

Permission Check

permission_check
Read-onlyIdempotent

Whether one class may read, write, or execute under a mode. Pass the class that applies: on a real system the owner class is used for the owner even when the group bits differ. setuid, setgid and sticky do not grant the bit. Returns JSON with: value, octal, octal4, symbolic, setuid, setgid, sticky, owner. Price: $0.001 USDC per successful call (x402, Base or Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/permission-check

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": {
      "mode": "<mode>",
      "who": "<who>",
      "op": "<op>"
    },
    "name": "permission_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
opYes
whoYes
modeYes

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 behavior, so the description's added value is the payment model ($0.001 USDC per successful call via x402 on Base or Solana) and the HTTPS endpoint, which materially affect how an agent should call it. It also discloses that setuid, setgid, and sticky do not grant the checked bit, a non-obvious behavioral rule. It stops short of describing failure/error behavior or latency.

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, followed by parameter guidance, return fields, and pricing/endpoint details in a logical order. The pricing and URL sentences are dense but earn their place by being required to invoke the tool; there is minimal filler.

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?

With no output schema, the description usefully enumerates the returned JSON fields (value, octal, octal4, symbolic, setuid, setgid, sticky, owner), which compensates well. The remaining gap is the undefined 'mode' string format, which is the single most important thing an agent needs to call this 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 the burden, and it does clarify the tricky 'who' semantics (owner class applies to the owner even when group bits differ). But it never explains the expected format of 'mode' (string, maxLength 16 — octal like '755' or symbolic like 'rwxr-xr-x'?), leaving the most error-prone parameter ambiguous.

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 concrete verb and resource: determining whether a class may read, write, or execute under a given mode, and it enumerates the returned fields. It is clearly distinguishable from numerical siblings like prime_check, though it does not explicitly contrast with any other tool.

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 phrasing 'Pass the class that applies' plus the note that on a real system the owner class is used for the owner even when group bits differ, which is a genuine disambiguation hint. However, there is no explicit when-to-use/when-not guidance and no named alternative, so the agent must infer applicability.

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