Skip to main content
Glama
DataBody MCP Server

DataBody MCP Server

Official
by databody-ai

analyze_photo

Analyze a food photo to identify food items and estimate their macronutrient content, helping users log meals from images.

Instructions

Analyze a food photo using AI to identify items and estimate macros

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": {
      "image": "<image>"
    },
    "name": "analyze_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesBase64-encoded image data
mime_typeNoImage MIME type (default: image/jpeg)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.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 that the work is AI-driven and produces item and macro estimates, but says nothing about whether results are persisted anywhere, how accurate or approximate the estimates are, or any input size or cost constraints.

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 the action first and the outputs second, no filler. It is arguably too short for the gaps it leaves, but nothing in it is wasted.

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?

There is no output schema, so the description is the only place the return value could be characterized, and it only gestures at 'items' and 'macros' without saying what fields, units, or confidence indicators come back. For a tool with zero annotations and no output schema, this leaves the agent unable to anticipate the response.

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 the definition of 'image' as base64 data and 'mime_type' with its default is already fully documented in the schema. The description adds no format, size, or encoding detail beyond that, which meets the baseline for high-coverage schemas.

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 ('Analyze') and resource ('a food photo') plus the two outputs, item identification and macro estimation, which is more than a restatement of the name. It is distinguishable from data-entry siblings like add_nutrition_item, but it never names an alternative, so the sibling differentiation is only implied.

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 or when-not-to-use guidance at all. Given siblings such as barcode_lookup (which also resolves food to nutrition data), the agent gets no signal about which path to pick for a packaged item versus a photo.

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