Skip to main content
Glama
srinivassrinu842

AAP MCP Server

aap_list_inventories

Read-only

List inventories from Ansible Automation Platform with pagination and search. View counts and active failure details for each inventory.

Instructions

List AAP inventories.

Args: params (ListInventoriesInput): Pagination and filter options.

Returns: str: JSON with count and inventory list (id, name, description, total_hosts, groups_with_active_failures).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds value by specifying the return format (JSON with count and inventory list including id, name, description, total_hosts, groups_with_active_failures) and mentioning pagination/filter options, which goes beyond the annotations. No contradictions found.

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?

The description is extremely concise with a clear front-loaded purpose, followed by compact Args/Returns sections. Every sentence earns its place, and there's no redundant information.

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

Completeness3/5

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

The tool is simple and the return format is described, but the description lacks detail on parameter semantics and scope of the listing (e.g., whether it returns all inventories or requires an organization filter). The output schema is not provided, but the description does enumerate the returned fields. Overall, it's minimally adequate but leaves some gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It only says 'Pagination and filter options' without explaining the individual properties (page, search, page_size, organization). This provides a general hint but doesn't add field-level meaning, making it hard for the agent to know what each parameter does.

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 description clearly states 'List AAP inventories' with a specific verb and resource, distinguishing it from sibling tools like aap_create_inventory, aap_update_inventory, and aap_delete_inventory. The Returns section also clarifies the output contains a count and inventory list with key fields.

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 description implies usage as a list operation but provides no explicit guidance on when to use it versus alternatives (e.g., when to use aap_export_inventory for exports or aap_list_hosts for hosts). The 'Pagination and filter options' hint gives some context, but there's no when-not-to-use or alternative tool references.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/srinivassrinu842/aap-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server