Skip to main content
Glama

get_custom_foods

Search or list a user's custom foods in their Garmin nutrition library, with optional text search and pagination.

Instructions

Search or list the user's custom foods in Garmin nutrition library.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_custom_foods"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (default 20)
startNoPagination offset (default 0)
searchExpressionNoOptional search text

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. The verbs imply a read-only operation, but nothing is said about authentication scope (the user's own library), pagination limits, ordering, or whether custom foods include archived/deleted entries.

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?

A single front-loaded sentence with no filler or redundancy. It is efficient, though its brevity is achieved partly by omitting useful context rather than by tight editing.

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

Completeness3/5

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

The tool is simple (three optional parameters, all documented, no output schema), so the description is minimally adequate. It still leaves the list-vs-search distinction and result semantics unexplained, which matters for correct invocation.

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 limit, start, and searchExpression are already fully documented in the schema. The description adds only the implication that supplying search text changes the operation from listing to searching; it offers no syntax, matching rules, or case-sensitivity details beyond that.

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?

States a specific verb pair ('Search or list') and a specific resource ('the user's custom foods in Garmin nutrition library'), which is narrower than a general food lookup. It does not name or distinguish itself from search_foods or quick_add_foods, so sibling differentiation is only implicit in the word 'custom'.

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 when-to-use guidance and no mention of alternatives. An agent gets no signal about why it would pick this over search_foods or quick_add_foods, nor any note that 'search' mode is triggered by supplying searchExpression while omitting it produces a plain list.

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

Deploy Server

Other Tools