Skip to main content
Glama

check_permission

Read-onlyIdempotent

Ask whether a given tool call would be allowed, require approval, or be blocked, without actually making the call. Returns the resolved permission verdict and the level it resolved from.

Input Schema

NameRequiredDescriptionDefault
orgNoThe oakallow organization external id (e.g. org_oak_…) this action targets. Required when your account has more than one org; optional if you have exactly one. Get it from the org-specific oakallow skill you downloaded for that org.
methodNoOptional method name.
tenant_idNoOptional tenant external id.
tool_nameYesThe tool to evaluate.
resource_idNoOptional resource external id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds meaningful value beyond that by stating no side effect occurs ('without actually making the call') and describing the return content (the verdict plus the level it resolved from), which the annotations do not convey.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the tool's purpose and immediately followed by the return behavior. No filler and no repetition of schema content.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Although there is no output schema, the description names the return value and the possible verdict outcomes, and the parameter requirements are fully covered by the schema. An agent has everything needed to decide to call it and interpret the result.

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 100%, so every parameter including the multi-org conditional requirement on 'org' is already documented in the schema. The description adds no additional parameter meaning, so the baseline 3 applies.

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 specific verb and resource — ask whether a tool call would be allowed, require approval, or be blocked — and adds the crucial dry-run qualifier 'without actually making the call.' That distinguishes it cleanly from check_approval_status and list_pending_approvals, which concern actual approval records rather than hypothetical verdicts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context for use: evaluate a prospective tool call before making it, with the three possible outcomes spelled out. It does not explicitly name the sibling alternatives or state when not to use it, which keeps it short of a 5.

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.