Skip to main content
Glama

List the user's own foods

get_my_foods
Read-onlyIdempotent

List your created foods, recipes, and products with IDs for updating or deleting them. Filter by name phrase and set a result limit.

Instructions

List the foods the user created, their own recipes (create_recipe) and products (create_food), in the same shape as search_food hits: a RECIPE hit's food_id is what update_recipe and delete_recipe take, a PRODUCT hit's what update_food and delete_food take.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of hits.
phraseNoWords of the name; omit it for all of them.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
dataNo
errorNodescribe_error() of what went wrong; docs/AGENTS.md, Results and errors.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavior beyond that: results come back in the same shape as search_food hits and food_id differs semantically per hit type, which is what determines subsequent calls.

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?

It is a single dense sentence with no filler, front-loading the scope ('foods the user created') before the ID-mapping detail. It reads as a long run-on packing several clauses, but every clause carries meaning.

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

Completeness5/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-value documentation is unnecessary; the description instead supplies the one thing the schema can't — the cross-tool ID semantics. Purpose, scope, provenance and follow-on routing are all present, leaving nothing an agent needs missing.

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% and only two parameters exist (limit, phrase), each already documented in-schema. The description contributes nothing about filtering or paging, so this sits at the baseline where structured data does all the work.

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 (List) and a precisely scoped resource: foods the user created, split into their own recipes and products. This clearly separates it from siblings like search_food (public catalog) and get_favorite_foods, so an agent can pick it 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 description establishes the usage context (the user's own created items, with create_recipe/create_food named as provenance) and routes downstream calls by mapping food_id to update_recipe/delete_recipe vs update_food/delete_food. It does not, however, state an explicit 'use search_food instead when...' exclusion, so the boundary with the search siblings is inferred rather than declared.

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