Skip to main content
Glama
srinivassrinu842

AAP MCP Server

aap_delete_inventory

Destructive

Permanently delete an Ansible Automation Platform inventory. Two-step confirmation prevents accidental destruction: first call returns a token, second call with token completes the deletion.

Instructions

Delete an AAP inventory. DESTRUCTIVE - requires confirmation.

Args: params (DeleteInventoryInput): - inventory_id (int): Inventory ID - confirmation_token (Optional[str]): Token from first call

Returns: str: Confirmation prompt or success JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Beyond the annotations (destructiveHint=true), the description discloses the two-step confirmation mechanism: the first call returns a prompt, and the second call with a confirmation_token performs deletion. It also specifies the return type (confirmation prompt or success JSON). This adds substantial behavioral context.

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 compact, with a clear one-sentence summary followed by structured Args and Returns sections. No unnecessary words; every line is functional.

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?

The description fully covers the tool's purpose, destructive nature, confirmation workflow, parameters, and return type. Given the simple schema and the presence of destructiveHint annotation, this is complete and sufficient.

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?

The description lists parameters from the schema but adds minimal new meaning. It clarifies inventory_id is an 'Inventory ID' (redundant) and describes confirmation_token as 'Token from first call,' which is useful but modest. Schema coverage is 0%, so the description partially compensates.

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 begins with 'Delete an AAP inventory,' which is a specific verb+resource statement. It clearly distinguishes this tool from sibling delete tools for other AAP resources (e.g., delete_host, delete_workflow_template).

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

Usage Guidelines4/5

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

The description explicitly warns 'DESTRUCTIVE - requires confirmation,' providing clear context that the caller must handle a confirmation flow. It doesn't state alternatives, but for a delete operation the intent is unambiguous and no exclusion is needed.

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