Skip to main content
Glama

retrieve_role

Read-onlyIdempotent

Fetches a specific role by its ID and returns its attributes, helping you inspect role details and permissions in Contabo.

Instructions

Get specific role by id [GET /v1/roles/{roleId}] Get attributes of specific role.

Input Schema

NameRequiredDescriptionDefault
roleIdYesThe identifier of the role
x-trace-idNoIdentifier to trace group of requests.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only the underlying REST path and that attributes are returned; it says nothing about 404/error behavior, permissions, or rate limiting. Adequate but thin beyond annotations.

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?

Two short sentences, front-loaded with the operation. Slight redundancy: 'by id' and 'specific role' are repeated, and 'Get attributes of specific role' largely restates the first sentence.

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 simple single-resource read whose annotations carry the safety profile and whose schema fully documents both params, the description supplies the action, the lookup key, and the endpoint. Missing only error/not-found semantics, which is minor here with no output schema.

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% and both parameters (roleId, x-trace-id) are documented in the schema itself. The description only restates that lookup is by role id and adds no format, range, or trace-header guidance.

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 ('Get specific role by id'), and the 'by id' phrasing separates it from retrieve_role_list and from the mutating siblings create_role/update_role/delete_role. It does not name those siblings explicitly, so differentiation is implied rather than stated.

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 only implied by 'by id' — an agent can infer this is a single-record fetch versus the list tool, but the description never says when to prefer this over retrieve_role_list or what to do if the id is unknown. No prerequisites or exclusions are given.

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