Skip to main content
Glama

Red Hat Ansible Galaxy Collections MCP

List Ansible collections by namespace

list_ansible_collections_by_namespace
Read-onlyIdempotent

List all automation collections published under a specific Ansible Galaxy namespace with download counts and highest versions.

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": "list_ansible_collections_by_namespace"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum collections to return (default 15, max 50).
offsetNoPagination offset (default 0).
namespaceYesAnsible Galaxy namespace (e.g. "community", "ansible", "kubernetes").

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 readOnly, idempotent, open-world, non-destructive behavior, so the safety profile needs no restating. The description does add value beyond them by disclosing what the response contains (download counts and highest versions), which matters because there is no output schema.

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 well-formed sentence that front-loads the verb and resource and then states the returned fields. There is no filler and nothing that could be cut without losing information.

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 paginated read tool with rich annotations and a fully documented schema, the description covers what the tool returns and what it is scoped to. Minor gaps remain around error behavior for a nonexistent namespace and the practical relationship between limit and offset, but nothing essential to invoking it is missing.

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%, with limit, offset, and namespace all documented in the schema itself, so the baseline is 3. The description contributes no additional meaning about parameter values, defaults, or interaction between limit and offset.

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 pairs a specific verb ("List") with a specific resource ("automation collections published under a specific Ansible Galaxy namespace") and names the scoping key, so an agent can tell it apart from collection-level siblings. It stops short of explicitly naming which sibling to use for other lookups, so it is clear but not maximally differentiating.

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: the phrase "under a specific Ansible Galaxy namespace" signals that this is the namespace-scoped listing tool, but there is no explicit when-to-use guidance, no mention of when to prefer get_ansible_collection_details or list_ansible_collection_versions, and no stated behavior for unknown namespaces.

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.