Skip to main content
Glama

Put the Agent role back to its first permissions

colliedesk_role_reset
Idempotent

Put the built-in Agent role back to the permissions it starts with. Everyone who holds it and the agent tokens that follow it get the change at once. Only Agent can be reset.

Needs: team:manage_roles.

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

Input Schema

NameRequiredDescriptionDefault
roleNoThe Agent role, by its name or id.Agent

Output Schema

NameRequiredDescriptionDefault
roleYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and idempotentHint=true, so the description's real value is the blast radius: every holder of the role and every agent token that follows it are changed simultaneously and immediately. It also discloses the required scope, team:manage_roles. It leaves unstated whether existing custom grants are permanently lost, which keeps it off a 5.

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?

Four short sentences, front-loaded with the action and effect, then the constraint, then the required permission. Nothing is repeated from the title or schema and nothing is padding.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter mutation with an output schema and full annotations, the description covers action, side effects, scope restriction, and authorization. An agent has everything needed to decide and invoke correctly without knowing the return shape.

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 100%, so the role parameter is already documented as name-or-id with a default of Agent; the baseline is 3. The description adds a genuine constraint beyond the schema — that the value must resolve to the Agent role — which meaningfully sharpens how the parameter may be used.

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?

States a specific verb and resource — putting the built-in Agent role back to its starting permissions — and narrows the scope with 'Only Agent can be reset.' That constraint lets an agent distinguish this from role_update or role_restore without opening their schemas.

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?

Clearly frames the applicable case (a built-in Agent role that has drifted from its defaults) and the hard precondition 'Only Agent can be reset,' which implicitly routes other roles elsewhere. It never names the alternative tool explicitly, so guidance stops just short of the top mark.

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.

Resources