Skip to main content
Glama
awslabs
by awslabs

list_components

Browse paginated components from OSCAL component definitions, showing UUIDs, titles, parent definitions, and sizes to identify items for targeted querying.

Instructions

List loaded Components with summary metadata.

Components are leaf-level elements within a Component Definition that represent individual services, software, regions, or similar items. A Component may belong to one or more Capabilities. Use this tool to discover Component UUIDs and titles for targeted queries via query_component_definition().

Args: ctx: MCP server context (injected automatically by MCP server) offset: Zero-based index of the first item to return (default 0). limit: Maximum number of items to return, 1-100 (default 10).

Returns: dict: Page_Response with keys items, total, offset, limit, hasMore. Each item in items has keys: uuid, title, parentComponentDefinitionTitle, parentComponentDefinitionUuid, sizeInBytes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
offsetNo
limitNo
Behavior3/5

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

With no annotations, description carries full burden. It describes return format (summary metadata, pagination) but does not explicitly state that the tool is read-only or safe to use. However, for a listing tool this is adequate.

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?

Concise yet comprehensive. Properly structured with separate sections for description, args, and returns. Every sentence adds value without redundancy.

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?

Despite no output schema, description fully specifies return dict structure with all keys. For a list tool with simple paginated output, this is complete and sufficient.

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

Parameters5/5

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

Both parameters (offset, limit) are fully explained with defaults and valid range for limit (1-100). Schema has 0% description coverage, but the description compensates completely.

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?

Clearly states the tool lists loaded Components with summary metadata, defines what Components are (leaf-level elements), and differentiates from sibling list_component_definitions by focusing on leaf-level components rather than definitions.

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?

Explicitly states use case: discover Component UUIDs and titles for targeted queries via query_component_definition(). Though it does not explicitly mention when not to use, the stated purpose is clear enough to guide selection.

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/awslabs/mcp-server-for-oscal'

If you have feedback or need assistance with the MCP directory API, please join our Discord server