Skip to main content
Glama
awslabs
by awslabs

list_component_definitions

List loaded OSCAL Component Definitions and retrieve their summary metadata including UUIDs, titles, and component counts. Use the obtained identifiers to query specific component definitions.

Instructions

List loaded Component Definitions with summary metadata.

A Component Definition is the top-level OSCAL document that contains Capabilities and Components. Use this tool to discover available definitions and obtain UUIDs or titles for use as the component_definition_filter in 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, componentCount, importedComponentDefinitionsCount, 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, the description partially covers behavior: it states 'list' (read operation) and describes the paginated return format. However, it does not explicitly confirm read-only or mention authorization/rate limits, leaving some 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 well-structured with a clear header, contextual paragraph, and explicit Args/Returns sections. Every sentence serves a purpose, and the length is appropriate for the tool's complexity.

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?

Given no output schema, the description adequately explains the return structure (Page_Response with keys) and the use case. Minor omissions: no error conditions or edge cases, but for a list tool it's mostly complete.

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?

The description adds essential meaning beyond the input schema: it explains that offset is zero-based and limit has a 1-100 range, which the schema lacks. With 0% schema description coverage, this is highly valuable.

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 verb 'List' and the resource 'Component Definitions' with 'summary metadata'. It distinguishes from sibling tools like list_components by specifying the top-level OSCAL document and its use for obtaining UUIDs.

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 tells when to use this tool: to discover definitions and get UUIDs for query_component_definition(). It implies not to use for detailed queries, but lacks explicit exclusions or comparison to similar siblings.

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