Skip to main content
Glama

Get Standalone Role Doc

get_standalone_role_doc
Read-only

Retrieve standalone Ansible role documentation by namespace.role identifier for roles found via search_standalone_roles; use collection role tools for collection roles.

Instructions

Get standalone role documentation for a 2-part namespace.role identifier.

Use this for standalone roles discovered with search_standalone_roles. This tool does not replace get_role_doc for collection roles.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "role_name": "<role_name>"
    },
    "name": "get_standalone_role_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
role_nameYesStandalone role identifier from search_standalone_roles (namespace.role).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, and an output schema exists, so the safety profile and return shape are covered elsewhere. The description adds only the provenance of the identifier and the collection-role exclusion, with no word on failure behavior or content of the doc.

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?

Three short sentences, front-loaded with the core purpose and then the routing rule. There is mild redundancy between '2-part namespace.role identifier' and the parameter description, but no filler.

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 one-parameter read tool with annotations and an output schema, the description covers purpose, provenance, and the main exclusion, which is sufficient to call it correctly. It stops short of describing what the documentation contains or what happens on an invalid identifier.

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 the single parameter is fully documented as coming from search_standalone_roles. The description restates the 'namespace.role' two-part format, which is light reinforcement rather than new meaning, so the baseline holds.

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 ('Get') and resource ('standalone role documentation') and pins down the required identifier shape ('2-part namespace.role'). It explicitly separates itself from get_role_doc, which handles collection roles, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives both the positive case ('Use this for standalone roles discovered with search_standalone_roles') and the negative case ('does not replace get_role_doc for collection roles'), naming the alternative explicitly. The prerequisite that the role comes from search_standalone_roles is stated.

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