Skip to main content
Glama

list_documents

List loaded OSCAL documents of one model type with UUID, title, child count, and size. Use when picking a query_value for query_documents. Results are paged.

Instructions

List loaded OSCAL documents of one model type with UUID, title, child count, and size. Use when picking a query_value for query_documents. 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": {
      "model_type": "<model_type>"
    },
    "name": "list_documents"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum items per page, 1-100.
offsetNoZero-based index of the first item.
model_typeYesModel type of the loaded documents.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the behavioral burden. It usefully discloses that results are paged and what fields come back, but it says nothing about ordering, whether an empty model type returns an empty set versus an error, or the read-only/safety profile an agent might want before calling.

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?

Two sentences, zero filler, and the payload description is front-loaded before the routing advice. Nothing here could be cut without losing 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 three-parameter list tool with no output schema, the description covers what is returned, that results are paged, and why to call it. Only minor gaps remain, such as ordering and total-count behavior across pages.

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%, with limit, offset, and the model_type enum all documented in the schema itself, so the baseline is 3. The description adds only the implicit constraint that model_type selects a single model type, which the schema already conveys.

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 opens with a specific verb and resource ('List loaded OSCAL documents of one model type') and even enumerates the returned fields (UUID, title, child count, size), which tells an agent exactly what it gets. It doesn't explicitly contrast itself with list_child_elements or query_documents beyond the one usage sentence, so it falls short of full sibling differentiation.

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 states a concrete trigger ('Use when picking a `query_value` for query_documents'), routing the agent to the right follow-up tool. There are no explicit when-not conditions or mention of alternative listing tools, but the primary usage context is unambiguous.

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