Skip to main content
Glama

agent_permissions

Read-only

Shows which workspace actions agents may perform beyond reading, reports granted rights and permission-file issues, and lists database permissions per connection to verify access.

Instructions

What agents may do in this workspace beyond reading: the rights granted by the user in their own settings folder (never in the workspace), e.g. run, write, vcs-write, debug, terminal-read, ui, secret-read, settings, the grant file consulted and any problem reading it. Over the window's HTTP transport a missing right is asked in the window. connections lists the database permissions granted per connection and target; a project file never grants any.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "agent_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.5.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations only establish a read-only, closed-world operation. The description adds substantive context beyond them: rights come from the user's settings folder and never the workspace, transport affects missing-right handling, and project files never grant database permissions. It does not contradict the annotations.

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?

The description is reasonably sized and begins with the core purpose, but it is dense and partly structured as a long list of rights and return details. It remains readable and mostly earns its words.

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?

With no output schema, the description appropriately explains the returned concepts: granted rights, the consulted grant file, read problems, and per-connection database permissions. It is sufficient for a no-parameter read-only permission inspection tool.

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?

There are no input parameters, so schema semantics are minimal and the baseline is 4. The description correctly does not invent parameters.

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 identifies the resource precisely: agent rights in the workspace and what lies beyond reading, scoped to the user's own settings folder rather than the workspace. It is clear what the tool reports, though it does not use an explicit verb or distinguish itself from sibling introspection tools such as workspace_info.

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

Usage Guidelines3/5

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

It implies the tool is used to learn what an agent may do and explains the special windowed HTTP behavior for missing rights, but gives no explicit when-to-use or when-not-to-use guidance against alternatives. The connections detail adds context about returned content rather than usage selection.

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