Skip to main content
Glama

get_account_role

Get details of a specific Cloudflare account role by role ID (name, description, permissions).

Instructions

Get details of a specific Cloudflare account role by role ID (name, description, permissions).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
role_idYesrequired,The ID of the role
account_idYesrequired,The ID of the Cloudflare account

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does not state the auth/permission requirements for reading account roles, rate limits, or that it is strictly read-only (only 'Get' implies it). The parenthetical lists return content rather than behavior, so disclosure is thin.

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?

A single well-formed sentence with no filler, and the identity of the resource is front-loaded. It is appropriately sized for a simple lookup, if slightly terse.

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

Completeness3/5

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

With only two required, fully-documented params and no output schema, the description covers the essentials and usefully previews returned fields (name, description, permissions). It nonetheless omits permission requirements and any routing versus list_account_roles, leaving gaps for a Cloudflare account-role lookup.

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 description coverage is 100%, so both account_id and role_id are already documented in the schema. The description only restates role ID usage ('by role ID') and adds no format or constraint detail beyond the schema, so the baseline 3 applies.

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?

Specific verb+resource+scope: retrieves a single Cloudflare account role identified by role ID, and even enumerates the returned fields (name, description, permissions). The singular 'a specific... role by role ID' implicitly separates it from the sibling list_account_roles, but no sibling is named explicitly, so it stops short of a 5.

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

Usage Guidelines2/5

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

There is no when-to-use/when-not guidance, no prerequisites (e.g., required API token permission to read roles), and no pointer to list_account_roles for enumeration. Retrieval-by-ID context must be inferred entirely from the phrase 'by role ID'.

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