Skip to main content
Glama

analyze_chef_databag_usage

Analyze Chef cookbooks for data bag usage and generate migration recommendations to Ansible. Cross-reference data bags to identify dependencies and provide actionable conversion guidance.

Instructions

Analyze Chef cookbook for data bag usage and provide migration recommendations.

Args: cookbook_path: Path to Chef cookbook databags_path: Optional path to data_bags directory for cross-reference

Returns: Analysis of data bag usage and migration recommendations

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cookbook_pathYes
databags_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It mentions analysis and recommendations but doesn't disclose behavioral traits like whether it's read-only or destructive, what permissions are required, how it handles errors, or any rate limits. The description is functional but lacks operational context needed for safe invocation.

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 appropriately sized and front-loaded with the core purpose in the first sentence. The Args and Returns sections are structured but slightly redundant with the main description. Every sentence adds value, though it could be more streamlined by integrating the sections.

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 tool's moderate complexity (2 parameters, analysis function) and the presence of an output schema (which handles return values), the description is reasonably complete. It covers purpose, parameters, and returns at a high level. However, without annotations, it lacks details on behavioral safety and operational constraints, which are important for an analysis tool.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It adds meaningful semantics: 'cookbook_path' is explained as 'Path to Chef cookbook', and 'databags_path' as 'Optional path to data_bags directory for cross-reference'. This clarifies the purpose and optionality of parameters beyond the bare schema, though it doesn't detail format constraints (e.g., absolute vs. relative paths).

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's purpose with specific verbs ('analyze', 'provide migration recommendations') and resources ('Chef cookbook', 'data bag usage'). It distinguishes from siblings like 'convert_chef_databag_to_vars' (which performs conversion rather than analysis) and 'generate_migration_report' (which generates reports rather than analyzing usage).

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 implies usage context through the mention of 'migration recommendations', suggesting this tool is for migration planning. However, it doesn't explicitly state when to use this vs. alternatives like 'assess_chef_migration_complexity' or 'generate_migration_plan', nor does it provide exclusion criteria or prerequisites.

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/kpeacocke/souschef'

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