Skip to main content
Glama

category_content

Retrieve file content matching a category directory and patterns. Override default patterns with an optional glob pattern for selective content retrieval.

Instructions

Get content from a category.

Retrieves file content matching the category's directory and patterns. Supports optional pattern override for selective content retrieval.

Arguments

  • expression (required): string

    • Category expression (e.g., 'docs', 'docs/api', 'docs/api+guide')

  • pattern: any

    • Optional glob pattern to override category's default patterns

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argsYesArguments for category_content tool.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must carry full burden. It describes the operation as retrieving content without side effects, but does not mention permissions, error conditions, or return format. The description is adequate but lacks depth.

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 very concise, with two short paragraphs and a clear parameter list. Front-loaded with the main purpose, every sentence is useful.

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 and high schema description coverage, the description provides sufficient context. It explains the core functionality and parameters, though it could mention default behavior or error handling.

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%, so the parameter descriptions in the schema are already detailed. The tool description adds context about pattern override but does not significantly enhance meaning beyond the 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 retrieves file content from a category with optional pattern override. It distinguishes from siblings like 'get_content' and 'category_list_files' by specifying category-based retrieval and pattern support.

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 implies usage for retrieving content from a category with pattern matching, but does not explicitly state when to use this tool over alternatives or provide exclusion criteria. However, the context is clear enough for agents.

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