Skip to main content
Glama

catalog_generate_schema

Generate a product catalog data model from a project directory to define the data structure for catalog-related development.

Instructions

Generate product catalog data model

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
api_keyNo
directoryYesProject directory
Behavior2/5

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

No annotations are present, so the description carries the full burden of behavioral disclosure. It does not state whether files are written to the directory, whether existing files are overwritten, whether the api_key affects behavior, or what kind of output is produced. 'Generate' implies a write operation, but the side effects are unclear.

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 a single, front-loaded declarative sentence with no filler or redundant information. It is concise, though the brevity spills into under-specification, which is more directly penalized in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a minimal definition for a generation tool with no annotations and no output schema. It leaves critical context unstated: what files or artifacts are generated, what the api_key is used for, whether the operation is destructive, and how a user would verify the result. More behavioral detail is needed for an agent to confidently invoke it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 50%, and the description adds no parameter-level meaning. The directory parameter has a schema description, but api_key is completely undocumented in both the schema and description, leaving its role and necessity ambiguous.

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 uses a specific verb ('Generate') and resource ('product catalog data model'), making the core action clear. It does not explicitly differentiate itself from catalog_add_categories or catalog_add_search, but the name 'generate_schema' strongly suggests baseline creation, which is apparent to an agent.

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

Usage Guidelines2/5

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

There is no guidance about when to use this tool versus the catalog_add_* siblings or other schema-generation tools like schema_generate_migration. The agent cannot tell whether this tool is for initial scaffolding, migrating an existing schema, or regenerating an existing model.

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/barnburner121/claude-plugin-marketplace'

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