Skip to main content
Glama

set_permission_set

DestructiveIdempotent

Create or change a permission set (admins only). Fields: name (required), description, deny_tools (patterns with , e.g. 'analyze_', 'invoice'), finanzen ('sichtbar'|'einzeln'|'verborgen'), einzel_limit_stunde, hinweis. template='ohne_finanzen' fills a ready-made 'Projekte ohne Finanzen'. delete=true removes it (and its assignments).

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": "set_permission_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoID of an existing permission set to change or delete; omit to create
nameNoName of the permission set
deleteNotrue deletes the set (with its assignments); needs id
hinweisNoInstruction text given to the AI for people with this set
finanzenNoHow amounts are shown: visible, only in a single record, or hidden
templateNoReady-made template to fill the set from ('Projekte ohne Finanzen')
deny_toolsNoTool name patterns blocked by this set, * as wildcard (e.g. 'analyze_*')
descriptionNoDescription of the permission set
einzel_limit_stundeNoHourly cap on single records with amounts that may be opened

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changed
    • addedInput schema / properties / delete / description
      Added value: +"true deletes the set (with its assignments); needs id"
    • addedInput schema / properties / deny_tools / description
      Added value: +"Tool name patterns blocked by this set, * as wildcard (e.g. 'analyze_*')"
    • addedInput schema / properties / description / description
      Added value: +"Description of the permission set"
    • addedInput schema / properties / einzel_limit_stunde / description
      Added value: +"Hourly cap on single records with amounts that may be opened"
    • addedInput schema / properties / finanzen / description
      Added value: +"How amounts are shown: visible, only in a single record, or hidden"
    • addedInput schema / properties / hinweis / description
      Added value: +"Instruction text given to the AI for people with this set"
    • addedInput schema / properties / id / description
      Added value: +"ID of an existing permission set to change or delete; omit to create"
    • addedInput schema / properties / name / description
      Added value: +"Name of the permission set"
    • addedInput schema / properties / template / description
      Added value: +"Ready-made template to fill the set from ('Projekte ohne Finanzen')"
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the safety bar is lower, yet the description still adds real value: it declares the admin-only authorization requirement and warns that delete removes the set along with its assignments. That cascading side effect is the kind of detail annotations cannot express. It stops short of describing what a create vs. update response returns.

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?

Everything sits in one front-loaded sentence with the purpose first, followed by a compact field checklist and two flag behaviors; no sentence is padding. The dense field enumeration is justified for a nine-parameter tool.

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 nine-parameter mutation tool with no output schema, the description covers create/update/delete modes, the admin gate, the cascading delete, and the template shortcut. The one gap is that it doesn't explain how the 'omit id to create' logic works (that lives only in the schema), but nothing essential to invoking it correctly is missing.

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%, so every parameter including both enums is already documented in the schema itself. The description restates the field list and adds only a wildcard example ('analyze_*', '*invoice*') and the note that name is required, which is marginal value over the schema. Baseline 3 applies when the schema does the heavy lifting.

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 opens with a precise verb pair and resource: 'Create or change a permission set', and extends it to deletion via delete=true. An agent can tell this is the CRUD tool for permission-set objects, distinct from assignment or listing siblings, though the description never names those siblings explicitly.

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 states an access precondition ('admins only') and gives the delete=true trigger plus the template shortcut, so some when-to-use context is present. However, it never says when to prefer this over assign_permission_set/set_field_permission or what to do if a set already exists, leaving the exclusion guidance implied.

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.