rbac_check_permission
Check if the current user has a specific permission.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| permission | Yes | Permission to check (e.g. 'schema:manage', 'data:write'). |
Check if the current user has a specific permission.
| Name | Required | Description | Default |
|---|---|---|---|
| permission | Yes | Permission to check (e.g. 'schema:manage', 'data:write'). |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The only added context is 'current user', which implies no user identifier is needed, but the description says nothing about the return value (presumably a boolean allow/deny), error behavior for unknown permission strings, or auth requirements.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence with no filler; the core action and scope appear immediately. Nothing redundant or padded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a one-parameter read-only tool with full schema coverage and annotations, the essentials are present. But with no output schema, the agent is left guessing whether the result is a boolean, an object, or an error for unknown permissions — one clause would have closed that gap.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% and the parameter example ('schema:manage', 'data:write') already conveys the expected format in the schema. The description adds no syntax, casing, or wildcard guidance beyond what the schema provides, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (check) and resource (a permission) scoped to the current user, which an agent can distinguish from generic CRUD tools. However, it never distinguishes itself from the sibling rbac_get_my_access, which presumably also reports permissions, so sibling differentiation is missing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied: the phrase 'a specific permission' suggests a single targeted check as opposed to a full access listing, but the description never says when to prefer this over rbac_get_my_access or apikey_get_scope. No prerequisites or exclusions are stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.