Skip to main content
Glama

Remove Permission Path

remove_permission_path

Revoke read or write permission for a previously added path in the current project, ensuring access rights are removed from the specified filesystem location.

Instructions

Remove path from project permissions.

Revokes read or write permission for the specified path in the current project. The path must have been previously added to permissions.

Arguments

  • session_id: string | null

    • Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id.

  • permission_type (required): enum: 'read', 'write'

    • Permission type: 'read' or 'write'

  • path (required): string

    • Client filesystem path to revoke. Must match a path previously added for the same permission_type.

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": {
      "args": "<args>"
    },
    "name": "remove_permission_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
argsYesArguments for remove_permission_path tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • removedInput schema / properties / args / additionalProperties
      Removed value: -false
    • changedInput schema / properties / args / properties / path / description
      Previous value: -"Path to remove from permissions"New value: +"Client filesystem path to revoke. Must match a path previously added for the same permission_type."
    • addedInput schema / properties / args / properties / session_id
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Opaque Guide interaction identifier returned by set_project. Pass it through unchanged on later tool, prompt, and resource calls. Do not construct, alter, or treat it as a FastMCP transport session id."
      +}
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "result": {
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "result"
      -  ],
      -  "type": "object",
      -  "x-fastmcp-wrap-result": true
      -}New value: +null
  2. First observedv1.3.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It discloses the mutation's effect and the precondition that the path must already exist, but says nothing about behavior when the path is absent (error vs. no-op/idempotency), permission requirements, or whether the revocation is reversible. Useful but incomplete for a destructive operation.

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

Conciseness3/5

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

The opening two sentences are front-loaded and efficient, but the '## Arguments' block duplicates the input schema field-for-field, including the session_id boilerplate, adding length without adding information. Structured well, but roughly half the text is redundant.

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?

For a one-parameter mutation tool with no annotations and no output schema, the definition covers what it does and its precondition, but omits error behavior on a non-matching path and any indication of what the result looks like. Adequate but with identifiable gaps an agent would want filled.

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%, and the Arguments section in the description reproduces the schema text almost verbatim rather than adding new meaning. The 'must match a previously added path' note is genuinely helpful, but it already appears in the schema's own path description, so the baseline of 3 applies.

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 names a specific verb and resource ('Remove path from project permissions') and clarifies the effect ('Revokes read or write permission for the specified path in the current project'). It is unmistakable what the tool does, though it does not explicitly name its counterpart add_permission_path to sharpen the distinction.

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 states a concrete precondition that governs when the call will succeed: 'The path must have been previously added to permissions' and the path 'Must match a path previously added for the same permission_type.' That is clear usage context, but there is no explicit statement of when not to use it or a named alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.