Skip to main content
Glama
anythink-cloud

Anythink-MCP

Official

Roles: permissions add

roles_permissions_add

Grant a role read, create, update, or delete permissions on an entity; all users with that role gain them at once. Defaults to read.

Instructions

Add entity permissions to a role. Grants a role one or more actions (read, create, update, delete; default read) on one entity, and every user holding the role gains them at once. Its other permissions are kept and actions it already has are skipped. An action with no matching permission for that entity is reported and skipped.

Input Schema

NameRequiredDescriptionDefault
entityYesEntity name
actionsNoComma-separated actions: read,create,update,delete (default: read)
role_idYesRole ID. Find it with roles_list.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.37
    • changedInput schema / properties / role_id / description
      Previous value: -"Role ID"New value: +"Role ID. Find it with roles_list."
  2. Addedv0.2.27

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so safety is covered; the description then adds genuine behavioral context beyond them: other permissions are retained, already-held actions are skipped (idempotent-like), every user on the role is affected at once, and unmatched actions are reported and skipped. This is meaningful disclosure of side effects and edge-case behavior.

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?

Purpose is front-loaded in the first sentence, followed by focused behavioral detail. Four sentences, all relevant, with no filler; slightly more verbose than strictly necessary but each sentence carries information.

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 mutation tool with no output schema and full schema coverage, the description covers the important gaps: what changes, what is preserved, what is skipped, and the blast radius across users. An agent has enough to call it correctly, though it never addresses authentication/permission requirements.

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 schema already enumerates the allowed actions and the default. The description largely restates this (read/create/update/delete, default read) with only marginal additions like 'on one entity', so it does not materially exceed the structured field documentation.

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 (add) and resource (entity permissions to a role), and clarifies scope (one entity, one or more actions). It does not explicitly name the sibling it contrasts with (roles_permissions_remove / roles_permissions_list), so it stops short of full sibling differentiation, but the purpose is immediately clear.

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?

Usage is implied rather than stated: it describes what adding does but gives no explicit when-to-use/when-not guidance or direction to roles_permissions_remove for the inverse. An agent can infer intent from the name and description, but no conditions or exclusions are spelled out.

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

Deploy Server

Other Tools