Skip to main content
Glama
srinivassrinu842

AAP MCP Server

aap_remove_host_from_group

Disassociate a host from an Ansible Automation Platform group using group and host IDs, without deleting the host.

Instructions

Remove a host from a group (disassociate, not delete the host).

Args: params (RemoveHostFromGroupInput): - group_id (int): Group ID - host_id (int): Host ID to remove

Returns: str: JSON confirmation.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

Annotations already indicate readOnlyHint=false and destructiveHint=false. The description adds the specific behavioral nuance that the host is not deleted but merely disassociated, which is useful. However, it does not mention permissions, idempotency, or error behavior, leaving some transparency gaps.

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 succinct and well-structured: a one-sentence purpose, a params list, and a returns line. Every sentence earns its place with no redundancy or unnecessary elaboration.

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 removal operation, the description covers the core aspects: what it does (disassociate), the parameters, and the return value. The distinction from delete_host is clear, and sibling tool names provide context. It lacks only minor details like prerequisites (e.g., host must be in group), but the description is adequate for the complexity.

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

Parameters4/5

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

Schema descriptions are absent (0% coverage), so the 'Args' section in the description provides essential semantics: group_id is 'Group ID' and host_id is 'Host ID to remove'. This compensates for the schema's lack of descriptions, though it does not mention the minimum=1 constraints which are in the schema.

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 the action: 'Remove a host from a group', specifying the verb, resource, and scope. It also distinguishes from sibling tools like 'delete_host' via the parenthetical 'disassociate, not delete the host', making the purpose unambiguous.

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 notes 'disassociate, not delete the host', which serves as a when-not guideline and distinguishes from alternative deletion operations. However, it does not explicitly name alternative tools like aap_delete_host or aap_add_host_to_group, so it lacks the full explicit 'use X instead' structure.

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