Skip to main content
Glama

Request file-system permission

bb_request_fs

Request plugin file-system permission from the user, optionally scoped to a directory, for listing, globbing, file info, mkdir, and delete operations. Reads and writes work without it.

Instructions

Ask the user for the plugin file-system permission (needed only by bb_list_dir, bb_glob, bb_file_info, bb_mkdir, bb_delete_path; reads and writes work without it). An optional scope limits the permission to one directory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scopeNoOptional directory to limit access to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does most of it: it discloses that this is an interactive user-consent prompt, that the permission is narrowly scoped, and that existing read/write tools bypass it entirely. It stops short of saying what happens if the user declines or whether the call blocks.

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, zero filler. The parenthetical listing dependent tools is placed immediately after the core action, and the scope note comes last, which is the correct front-loading order.

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 one-param, zero-required permission request with no output schema, the description covers the essentials: trigger, dependents, and scope limitation. It omits the outcome of a denial or what the call returns, which is the one remaining ambiguity for an agent deciding whether to call it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100% for the single optional scope param. The description adds a genuine nuance beyond 'Optional directory to limit access to': that scope restricts the permission to exactly one directory, clarifying the bounded effect on all five dependent tools.

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?

Specific verb+resource: 'Ask the user for the plugin file-system permission.' It goes further by scoping exactly which sibling tools require it (bb_list_dir, bb_glob, bb_file_info, bb_mkdir, bb_delete_path) and which do not, so the agent can place it precisely among ~60 siblings.

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?

States both when to use it ('needed only by' the five named tools) and when not to ('reads and writes work without it'), naming the alternative path explicitly. No inference required from the agent.

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