Skip to main content
Glama
Canada's Food Guide MCP Server

Canada's Food Guide MCP Server

Initialize Database

initialize_database

Sets up the SQLite database schema required for Canada's Food Guide recipes, creating persistent favorites and EER profile tables for bookmarking and profile storage.

Instructions

Initialize the Canada's Food Guide recipe database with required tables.

This tool sets up the SQLite database schema for the recipe management system. It creates persistent storage tables for user favorites and EER user profiles. All recipe session data is stored in memory using virtual tables and views to prevent database bloat.

What this tool creates:

  • user_favorites table for persistent recipe bookmarking

  • user_profiles table for persistent EER user profile storage

  • Proper indexing and constraints for data integrity

  • Virtual table infrastructure for in-memory recipe storage

Use this tool when:

  • First time setting up the recipe database

  • After database corruption or reset

  • Ensuring database schema is current

  • Before using any favorites-related or EER profile tools

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it usefully discloses the storage split (persistent tables for favorites/profiles, in-memory virtual tables for recipe sessions to avoid bloat) and that constraints/indexes are applied. It never says whether the operation is destructive or idempotent — calling it 'after database corruption or reset' implies it may recreate or drop tables, but an agent cannot tell whether existing favorites survive a second call. Permissions or failure behavior are also unstated.

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?

Front-loaded summary sentence followed by clearly labeled 'What this tool creates' and 'Use this tool when' sections makes it skimmable. A few lines restate the persistent-vs-in-memory point twice ('All recipe session data is stored in memory using virtual tables' and the virtual table bullet), so it is slightly longer than strictly necessary.

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?

An output schema exists, so return values need no explanation, and the description covers scope, artifacts created, and trigger conditions well for a no-parameter setup tool. The one material omission for a schema-mutating operation — whether existing data is preserved or wiped on re-run — leaves the agent without an answer to the main risk question.

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?

Zero parameters and 100% schema coverage, so the baseline is 4; the description correctly implies the tool needs no configuration or seed data to run. It adds no parameter meaning because there is none to add.

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?

States a specific verb and resource ('Initialize the Canada's Food Guide recipe database with required tables') and then enumerates exactly what is created (user_favorites, user_profiles, indexing/constraints, virtual table infrastructure). No sibling tool does schema setup, so the agent can distinguish this from create_user_profile, create_virtual_recipe_session, and the other session/table tools without opening a schema.

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 'Use this tool when' block gives four concrete trigger conditions, including the important proactive case 'Before using any favorites-related or EER profile tools', which effectively routes the agent away from add_to_favorites/list_favorites until setup is done. There is no explicit when-not-to-use statement or any note on whether it is safe to call repeatedly, which keeps it below a 5.

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