Skip to main content
Glama

list_child_elements

List child elements (controls, components, findings, etc.) of one type with ID, title, parent document, and size. Get one's OSCAL JSON with get_child_element. Results are paged.

Instructions

List child elements (controls, components, findings, etc.) of one type with ID, title, parent document, and size. Get one's OSCAL JSON with get_child_element. Results are paged.

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": {
      "element_type": "<element_type>"
    },
    "name": "list_child_elements"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items per page, 1-100.
offsetNoZero-based index of the first item.
element_typeYesChild element type. Each type belongs to one model, e.g. control to catalog.
parent_doc_uuidNoUUID of one parent document to scope results to. Omit for all documents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.1

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden; it does disclose that results are paged and what fields come back, which is genuinely useful. However it says nothing about read-only nature (only implied by "List"), permissions, or page-size defaults beyond what the schema already covers.

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 tight sentences, front-loaded with what is returned and how it differs from get_child_element. No filler, though the parenthetical example list is slightly redundant with the enum.

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 four-parameter read tool with no output schema, the description tells the agent what fields come back and that pagination applies, which is what is needed to call it correctly. Only the absence of any authorization/scope caveats keeps it from full marks.

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%, including the element_type enum and the default/range for limit and offset, so the schema does the heavy lifting. The description only restates "one type" and the omit-for-all-documents behavior, adding no meaning beyond the structured fields.

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?

States a specific verb and resource ("List child elements") plus the scoping qualifier "of one type," and enumerates return fields (ID, title, parent document, size). It also names the detail-view sibling get_child_element, so an agent can distinguish listing from fetching full content, though it does not differentiate from list_documents/query_documents.

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 routes detail retrieval to get_child_element ("Get one's OSCAL JSON with get_child_element"), which is a clear alternative-selection rule, and the "Omit for all documents" note tells the agent how to broaden scope. It stops short of stating when to prefer this over the other listing/query siblings.

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