Skip to main content
Glama

category_list_files

List files in a category directory with names, sizes, and modification times. Filter by source (filesystem or store) or exact document name.

Instructions

List all files in a category directory.

Returns file information including names, sizes, and modification times for all files matching the category's patterns.

Arguments

  • category (required): string

    • Name of the category to list files from

  • source: any

    • Filter by source: 'files' (filesystem only), 'stored' (store only), or omit for both

  • name: any

    • Filter by document name (exact match)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYesArguments for category_list_files tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations provided, so the description carries the burden. It states the tool lists files and returns information, but does not explicitly confirm it is read-only, mention error states, or performance bounds. The verb 'list' implies safety, but more detail would help.

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?

The description is well-structured with a clear first paragraph for purpose and a second for arguments. It could be slightly more concise, but overall it is not verbose.

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 the presence of an output schema (not shown), the description need not detail return values. It covers all parameters and provides filtering context, making it sufficiently complete for a listing tool.

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 coverage is 100%, so baseline is 3. The description repeats the schema descriptions verbatim and adds no extra semantic value beyond what is already in the input 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 clearly states the tool verb (list) and resource (files in a category directory), and distinguishes from siblings like `category_collection_list` which lists categories. The scope is precise.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explains what the tool does and mentions filtering options (source, name), but does not provide guidance on when to use this tool versus alternatives, nor when not to use it.

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/deeprave/mcp-guide'

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