Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

parse_food_description

Convert free-text food descriptions into structured nutrition data for accurate logging and tracking.

Instructions

Parse a text description of food into structured nutrition data

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": {
      "description": "<description>"
    },
    "name": "parse_food_description"
  }
}

Input Schema

NameRequiredDescriptionDefault
descriptionYesText description of the food (e.g., '2 eggs with toast and butter')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations and no output schema, so the description carries the full burden. It says the result is 'structured nutrition data' but never says what that structure contains, whether estimates are approximate, whether the parse is a write operation or pure computation, or whether it can fail on ambiguous input. Only the barest behavioral hint is given.

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?

One front-loaded sentence with no filler, and the purpose is clear from the first words. It is efficient, though the terseness is part of why behavioral context is thin.

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 parser with no annotations and no output schema, the agent gets no idea of the return shape, accuracy characteristics, or side effects. The description should at minimum say whether the call is read-only and roughly what fields come back.

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?

There is a single parameter with 100% schema description coverage, including a concrete example ('2 eggs with toast and butter'). The description adds no syntax, format, or length guidance beyond the schema, so baseline 3 applies.

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: 'Parse a text description of food into structured nutrition data.' An agent can tell this converts free text into nutrition data rather than looking up or logging food. It does not distinguish itself from siblings like analyze_photo (image-based parsing) or search_food, so it stops short of a 5.

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?

Usage is only implied: the tool takes text, so you use it when you have a textual description. There is no explicit when-to-use, no mention of when to prefer analyze_photo or search_food instead, and no note on prerequisites or limits of the parser.

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