Skip to main content
Glama

get_capability

Read-onlyIdempotent

Fetch a capability catalog entry by ID to inspect kind, provider, binding, execution owner, approval requirement, tags, and optional skill instruction. Read-only; unknown IDs return not_found.

Instructions

Fetch one unified capability catalog entry by capability_id: kind, provider, binding, execution owner, approval requirement, and tags. include_instruction=true also returns the skill instruction text. Find capability ids with list_capabilities or route_capabilities. Read-only; an unknown id fails with not_found.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
capability_idYesCapability id from list_capabilities or route_capabilities.
include_instructionNoAlso return the instruction text for skill capabilities.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • addedInput schema / properties / capability_id / description
      Added value: +"Capability id from list_capabilities or route_capabilities."
    • addedInput schema / properties / include_instruction / description
      Added value: +"Also return the instruction text for skill capabilities."
  2. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, and non-destructive behavior. The description adds a useful error condition ('unknown id fails with not_found') and the conditional include_instruction behavior beyond what annotations provide.

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 tight sentences, front-loaded with the primary purpose and returned fields. No filler; each sentence adds a distinct piece of information.

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 single-entry fetch tool with rich annotations, the description covers id source, return contents, optional instruction text, and error behavior. The lack of an output schema makes exact response-shape details unspecified, but the description is sufficient for correct invocation.

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 description coverage is 100%, so both parameters are already documented. The description mostly restates the include_instruction flag's effect and provides no additional syntax, constraints, or default information beyond 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 uses a specific verb ('Fetch') and resource ('capability catalog entry by capability_id'), and enumerates the returned fields. It clearly distinguishes this as a single-entry read tool from list/route siblings.

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?

It explicitly says to find capability ids via list_capabilities or route_capabilities and notes the read-only nature and not_found behavior. It does not spell out when not to use it versus alternatives, but the context is clear.

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

Deploy Server

Other Tools