Skip to main content
Glama
FatSecret MCP Server

FatSecret MCP Server

search_foods

Find foods in the ES catalog by default and return food IDs required to request serving details. Filter by region and language, with result limits and pagination.

Instructions

Search foods in the ES/es catalog by default. Use returned food_id before requesting servings.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "query": "<query>"
    },
    "name": "search_foods"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
regionNoES
languageNoes
max_resultsNo
page_numberNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses the default catalog and that food_id is returned, but says nothing about pagination behavior, result ordering, total counts, error handling, or read-only safety.

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?

Two short sentences, front-loaded with the search action and followed by a chaining instruction. It is efficiently worded, though the second sentence is somewhat cryptic without more context.

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?

For a five-parameter search tool with no annotations and no output schema, the definition is too sparse. An agent is left guessing about query format, pagination, result shape beyond food_id, and how region and language affect results.

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 0% across five parameters. The description weakly implies that region and language can be overridden from the ES/es defaults, but it does not explain query syntax, max_results behavior, or page_number semantics.

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 and resource: search foods, with the default catalog scope ES/es. It also hints at the follow-up use of the returned food_id. It does not explicitly contrast with recipe search or favorite foods, so it falls short of full sibling differentiation.

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?

Provides a useful workflow hint that the returned food_id should be used before requesting servings, and notes that search defaults to the ES/es catalog. However, it gives no explicit guidance on when to use this tool versus find_recipes or list_favorite_foods.

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