Skip to main content
Glama

Refresh platform permission caches

komuta_admin_refresh_permission_cache
Destructive

Refresh permission caches after an explicitly requested role/permission change. This can immediately change effective access platform-wide; do not invoke to bypass a permission denial. Host/platform administrator operation: the connected principal must have the backend's specific permission. Do not switch organizations or impersonate the target tenant to bypass a denial. Resolve the target by name and preserve all returned concurrency stamps. Resolve the target tenant by name using the administrator lookup. Do not invoke without the user's explicit request and approval of the exact operation. Never retry a write automatically; inspect state after an uncertain response. Returns: The backend operation result, including status and pagination when present; errors remain errors. Show user: Relevant names, values and confirmed outcome. Queued or accepted means pending, not completed; missing data is unknown. Never show user: Internal IDs or credentials; use names. Sends: Exactly the confirmed resource identifiers and declared configuration fields to this operation; no other mutations.

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": {
      "confirmed": "<confirmed>"
    },
    "name": "komuta_admin_refresh_permission_cache"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmedYesTrue only after the user explicitly approved this exact action, target and financial/availability impact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the annotations (destructive=true, idempotent=false, openWorld=true) by disclosing the platform-wide blast radius, that the effect is immediate, that retries must be manual after an uncertain response, and that 'queued or accepted means pending, not completed.' The bulk of it is genuinely useful for a destructive admin mutation, though a few lines are generic wording and 'preserve all returned concurrency stamps' refers to state the schema does not expose.

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

Conciseness2/5

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

Front-loaded purpose is good, but the body repeats itself ('Resolve the target tenant by name using the administrator lookup' and 'Resolve the target by name' say the same thing) and carries long generic boilerplate about what to show the user and what never to show, diluting the operative guidance.

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 destructive, non-idempotent admin mutation with no output schema, the description covers confirmation, required authorization, retry policy, and how to interpret results and errors, so little is missing. It only falls short by implying target-resolution behavior that the one-parameter schema cannot express.

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 coverage is 100%, and the single 'confirmed' parameter is described in the schema itself, so 3 is the baseline. The description adds nothing about 'confirmed' and instead refers to resolving a target tenant by name and to concurrency stamps, neither of which is a parameter here, which risks misleading the agent.

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?

States a specific verb and resource: refreshing permission caches, scoped to 'after an explicitly requested role/permission change.' That condition makes the tool distinguishable, though it never contrasts with a sibling tool implicitly.

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

Usage Guidelines5/5

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

Explicit when ('after an explicitly requested role/permission change') and when-not ('do not invoke to bypass a permission denial', 'do not switch organizations or impersonate the target tenant', 'do not invoke without the user's explicit request and approval'). It also states the prerequisite that the connected principal must hold the backend's specific permission.

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