Skip to main content
Glama

webdiet_calculo_energetico_write_create

Create / update energy expenditure calculations in WebDiet. Actions: create (new calculation), save (update existing calculation). Supports 24+ formulas: Harris-Benedict 1919/1984, FAO/WHO 2004, EER/IOM 2005, EER 2023, Katch-McArdle 1996, Cunningham 1980, Mifflin-St Jeor 1990, and more. Activity factors: 1.0 (none), 1.2 (sedentary), 1.375 (light), 1.55 (moderate), 1.725 (intense), 1.9 (very intense). Injury factors: 1.0 (none) up to 2.0 (burns 70-90%).

[Flattened action: create]

Bulk support: accepts patient_ids, calculo_ids for batched execution.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mlgNo
nomeNoCálculo Energético
pesoNo
alturaNo
accountNo
formulaNo
calculo_idNo
patient_idYes
calculo_idsNo
patient_idsNo
fator_injuriaNo1.000
fator_atividadeNo1.200

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.7/5.0
Behavior3/5

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

Annotations indicate readOnlyHint=false, destructiveHint=false, so the agent knows it's a write operation. The description adds value by listing available formulas and factors, but does not disclose side effects, authentication needs, or any constraints beyond the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is relatively concise, with a clear list of supported formulas and factors. However, it includes an internal note '[Flattened action: create]' which is irrelevant for the agent and adds clutter. The structure is adequate but not optimal.

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?

Given the complexity (12 parameters, multiple formulas/factors) and absence of output schema, the description should explain return values or response behavior. It only mentions bulk support but does not detail the output. Annotations are minimal, so the description fails to complete the picture.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%. The description mentions concepts like formulas and activity factors but does not map them to specific parameters (e.g., 'mlg', 'peso'). The agent cannot infer meaning or constraints from the description alone.

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?

The description states 'Create / update energy expenditure calculations in WebDiet' with specific verbs and resource. It lists supported formulas and factors. However, it does not differentiate from the sibling 'webdiet_calculo_energetico_write_save', which could cause confusion.

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?

The description explains the actions (create, save) and mentions bulk support, but it does not provide when to use this tool versus alternatives (e.g., the sibling write_save tool). It also lacks guidance on prerequisites or conditions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.