Skip to main content
Glama

Search Standalone Roles

search_standalone_roles
Read-only

Search Galaxy standalone and legacy roles by keyword to find two-part Ansible roles, with an optional single Galaxy tag filter.

Instructions

Search Galaxy standalone/legacy roles by keyword.

This targets standalone (2-part) roles. Collection roles use search_collections/get_role_doc. tags accepts a single Galaxy tag; if comma-separated values are provided, only the first segment is sent.

If public Galaxy is disabled and no configured server supports v1 role endpoints, expect a v1-unsupported error.

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": {
      "query": "<query>"
    },
    "name": "search_standalone_roles"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagsNoOptional Galaxy tag filter. If comma-separated, only the first tag segment is used.
queryYesSearch keyword for Galaxy standalone/legacy roles (keywords search)

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.9.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so safety is covered; the description adds real value by disclosing the v1-endpoint availability failure mode and the tag-truncation behavior. It stops short of describing result volume or ordering, but with an output schema present that gap is minor.

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?

Three short paragraphs, front-loaded with the core purpose before the sibling routing and error note. The tag-truncation sentence duplicates the schema text and could be cut, but overall there is little waste.

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 two-parameter search tool with a full schema and an output schema, the definition covers purpose, sibling routing, a parameter quirk, and the main error condition. Only minor operational details (result limits or ordering) are absent, and those are not required to call it 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 coverage is 100% and the schema description for 'tags' already states that comma-separated values use only the first segment, so the description's restatement adds no new meaning. The 'query' semantics (keyword search) are likewise already in the schema. Baseline 3 is appropriate here.

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?

States a specific verb and resource ('Search Galaxy standalone/legacy roles by keyword') and immediately scopes it to 2-part standalone roles, ruling out collection roles. An agent can distinguish this from search_collections and get_role_doc without opening any 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?

Explicitly routes the agent: standalone roles go here, collection roles go to search_collections/get_role_doc. It also gives a failure condition (v1-unsupported error when public Galaxy is disabled and no server supports v1 role endpoints), which tells the agent when this tool simply cannot succeed.

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