Skip to main content
Glama

Red Hat Ansible Galaxy Collections MCP

Get Ansible collection details

get_ansible_collection_details
Read-onlyIdempotent

Fetch metadata for a specific Ansible Galaxy collection including highest version, download count, deprecation flag, and install command.

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": {
      "namespace": "<namespace>",
      "name": "<name>"
    },
    "name": "get_ansible_collection_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesCollection name (e.g. "general", "posix", "aws").
namespaceYesCollection namespace (e.g. "community", "ansible", "amazon").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description adds value beyond that by enumerating exactly what metadata comes back (highest version, downloads, deprecation flag, install command) in the absence of an output schema. It does not mention behavior for unknown/nonexistent collections or any rate limiting against the external Galaxy API, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence that front-loads the verb and resource and then lists the return fields. No throat-clearing, no restatement of the title, nothing redundant.

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 two-required-parameter read tool with full annotations and no output schema, the description covers purpose and return content adequately. The only gap is failure-mode behavior (collection not found, deprecated collection handling), which is minor for this complexity level.

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 carry their own examples (namespace: 'community', 'ansible'; name: 'general', 'posix'). The description adds no further semantics such as case sensitivity or how namespace/name combine, so the baseline 3 is appropriate.

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?

The description gives a specific verb (fetch) plus the exact resource (metadata for a specific Ansible Galaxy collection) and enumerates the payload fields: highest version, download count, deprecation flag, install command. That clearly separates it from the list_* and search_* siblings, though it never names an alternative explicitly.

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?

The phrase 'for a specific Ansible Galaxy collection' implies the agent must already know the namespace and name, which matches the two required parameters. However, there is no explicit when-to-use vs when-to-use-alternatively guidance and no statement about what to do when only a name is known (e.g., falling back to search_ansible_collection_versions).

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.