Skip to main content
Glama
MCP Directory Share

MCP Directory Share

Remover Diretório Compartilhado

remove_shared_directory

Removes a directory from the shared directory list, revoking its contents as AI context. Provide the path to stop sharing that directory.

Instructions

Remove um diretório da lista de diretórios compartilhados

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": {
      "path": "<path>"
    },
    "name": "remove_shared_directory"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesCaminho do diretório a ser removido

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. It does imply the useful distinction that only the list entry is removed rather than the directory on disk, but it says nothing about required permissions, idempotency or error behavior when the path is absent, or reversibility.

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?

One short sentence with no filler, and the resource scope is stated up front. It is arguably under-specified rather than bloated, which is the only thing holding it below a 5.

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 removal tool with no output schema, the definition covers the core action and its scope. It omits the failure/idempotency behavior and permission requirements that an agent would need to use it safely, but the surface area is small enough that the gap is moderate rather than severe.

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 'path' parameter is described in the schema as the directory to be removed, so the description adds nothing further. Baseline 3 applies where the schema already does the work.

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 ('Remove') and resource ('um diretório'), and crucially scopes it as removal 'da lista de diretórios compartilhados', which distinguishes it from a filesystem delete and from the sibling add_shared_directory. It stops short of naming an alternative tool explicitly, so it is clear but not maximally differentiated.

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?

There is no when-to-use, when-not-to-use, or prerequisite guidance; the agent must infer from the name that this is the inverse of add_shared_directory. Nothing tells the agent what to do if the directory is not currently shared, nor whether an alternative tool is appropriate.

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