Skip to main content
Glama

Get Skill

get_skill
Read-only

Read a skill's SKILL.md content by module FQCN or collection namespace, searching configured skill paths and returning the first match to supply Ansible guidance.

Instructions

Read a specific skill's SKILL.md content by name.

Searches ANSIBLE_KNOW_SKILLS_PATH (colon-separated) when set, otherwise the single SKILLS_DIR. First match wins.

Returns: SKILL.md content as str, or {"error": str} on failure/not found.

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": {
      "skill_name": "<skill_name>"
    },
    "name": "get_skill"
  }
}

Input Schema

NameRequiredDescriptionDefault
skill_nameYesSkill name: a module FQCN (e.g. 'netbox.netbox.netbox_device') or a collection namespace (e.g. 'netbox.netbox') for the collection-level skill.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds value beyond that by disclosing the environment-driven search path resolution order and the first-match-wins rule, plus the failure shape ({'error': str}). It does not warn about ambiguity when multiple skill dirs contain the same name, which is the one meaningful gap.

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?

Three short blocks: purpose first, resolution semantics second, return contract third. No filler, and the operationally important precedence rule is front-loaded after the one-line purpose.

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?

For a single-parameter read tool with an output schema and clear annotations, nothing essential is missing. The description covers what is read, where it is looked up, precedence on collision, and the error case.

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 skill_name field already documents both accepted forms with FQCN and namespace examples. The description only restates 'by name' and adds no syntax, casing, or matching rules beyond the schema, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource: reads a named skill's SKILL.md content. That is concrete enough to distinguish it from the docs-fetching siblings (get_module_doc, get_collection_docs) which return module/collection docs rather than a generated SKILL.md. It stops short of explicitly routing an agent away from list_skills or the generate_skill family, so it is clear but not fully differentiated.

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?

Usage is implied rather than stated: an agent can infer this is the read side paired with generate_skill/list_skills. The description does supply real operational guidance about resolution order (ANSIBLE_KNOW_SKILLS_PATH when set, otherwise SKILLS_DIR, first match wins), but gives no explicit when-not-to-use or named alternative.

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