Skip to main content
Glama

Get Collection Manifest

get_collection_manifest
Read-only

Returns a compact overview of a collection's modules, roles, and plugins with one-line descriptions to help you decide which modules to inspect further.

Instructions

Get a lightweight collection overview: module/role/plugin names with one-line descriptions.

Prefer this over get_collection_docs when exploring a collection — it returns a compact summary suitable for deciding which modules to drill into with get_module_doc.

Computes a fresh overview without reading or writing project MANIFEST.json files (metadata extraction only, no skill generation or cache persistence). Explicit skill-generation tools still persist their own manifests. On failure returns {"error": str}.

Module docs are fetched in batched ansible-doc calls. If the entire batch fails hard, the overview contains zero module entries (roles/plugins from list discovery are still included when present).

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": {
      "collection_namespace": "<collection_namespace>"
    },
    "name": "get_collection_manifest"
  }
}

Input Schema

NameRequiredDescriptionDefault
collection_handleNoSession handle returned by ensure_collection. Omit on local stdio; required on remote.
collection_namespaceYesCollection namespace (e.g. 'netbox.netbox')

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.11.0
    • addedInput schema / properties / collection_handle
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Session handle returned by ensure_collection. Omit on local stdio; required on remote."
      +}
  2. First observedv0.7.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds substantial non-obvious behavior: it computes a fresh overview without touching MANIFEST.json, performs no skill generation or cache persistence, uses batched ansible-doc calls, and returns {"error": str} on failure. It even discloses the degraded-success case where a failed batch yields zero module entries.

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?

Front-loaded with the purpose and the alternative-tool routing in the first two paragraphs, with operational caveats after. The four short paragraphs are tight, though the failure-mode paragraph is slightly verbose relative to the rest.

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

Completeness5/5

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

An output schema exists, so return values need not be spelled out, yet the description still supplies the error shape and the partial-failure behavior. Combined with 100% schema coverage and clear sibling routing, an agent has everything needed to call this correctly.

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 collection_handle (session handle from ensure_collection, required on remote) and collection_namespace are already fully documented in the schema. The description adds no parameter-specific guidance beyond that, so the baseline applies.

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?

The first sentence gives a specific verb ('Get'), resource ('collection manifest/overview'), and enumerates the returned content (module/role/plugin names with one-line descriptions). It explicitly distinguishes itself from get_collection_docs and get_module_doc, so an agent can select it 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?

States both when to use it ('when exploring a collection') and the named alternative it beats ('Prefer this over get_collection_docs'), plus the follow-on path ('deciding which modules to drill into with get_module_doc'). Nothing about routing is left to inference.

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