Skip to main content
Glama

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. Price: $0.001 USDC per successful call (x402, 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

B3.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered; the description adds genuine value beyond that with cost ($0.001 USDC per successful call, x402/Solana), an alternate HTTPS access path, and two real semantic gotchas — the owner class applies on real systems even when group bits differ, and setuid/setgid/sticky do not grant an op bit. It says nothing about the response shape or failure cases, which keeps it short of 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?

Functional content is front-loaded in the opening sentences and the semantic caveats follow immediately. The pricing/HTTPS sentence is necessary access context rather than filler, though the telegraphic sentence fragments make it read as notes rather than a definition.

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 should indicate what comes back (a boolean? granted/denied plus reason?) and it does not. Combined with the unexplained `mode` format, an agent knows what the tool is for but not exactly how to call or interpret it.

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%, so the description must carry all parameter meaning. It clarifies `who` ('pass the class that applies', owner-vs-group-bit rule) but leaves `mode` completely unexplained — an agent cannot tell from either source whether to pass '644', 'rw-r--r--' or '0644' (maxLength 16 hints symbolic, but that is inference), and `op` is only implicitly covered.

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 first sentence names a specific operation — deciding whether one permission class (owner/group/other) may read, write or execute under a mode — and the enum values in the schema confirm the Unix-style permission semantics. It is clear, though it never says outright that this is a Unix/POSIX file-mode check, which would have separated it more sharply from siblings like chmod_apply, umask_mode and file_mode.

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?

No when-to-use guidance and no reference to any alternative. Nearby tools such as chmod_apply, umask_mode and file_mode plausibly overlap, yet the description gives no rule for choosing between a read-only check and those mutating/derivation 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