Skip to main content
Glama

TreinoAI

Calcular calorias queimadas

calcular_calorias_queimadas
Read-onlyIdempotent

Calorias gastas numa atividade física pelo peso e pela duração, com os METs médios do Compêndio de Atividades Físicas (MET × 3,5 × peso ÷ 200 × minutos).

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": {
      "atividade": "<atividade>",
      "pesoKg": "<pesoKg>",
      "minutos": "<minutos>"
    },
    "name": "calcular_calorias_queimadas"
  }
}

Input Schema

NameRequiredDescriptionDefault
pesoKgYesPeso corporal em kg.
minutosYesDuração em minutos.
atividadeYesAtividade: musculacao (Musculação (geral)), musculacao-intensa (Musculação intensa), caminhada (Caminhada (5 km/h)), caminhada-rapida (Caminhada rápida (6,5 km/h)), corrida-8 (Corrida (8 km/h)), corrida-10 (Corrida (10 km/h)), corrida-12 (Corrida (12 km/h)), bicicleta (Bicicleta (moderada)), spinning (Spinning / bike indoor), hiit (HIIT / treino intervalado), funcional (Treino funcional / cross training), pular-corda (Pular corda), natacao (Natação (moderada)), natacao-intensa (Natação intensa), remo (Remo (ergômetro)), escada (Escada / simulador de escada), futebol (Futebol recreativo), lutas (Lutas / boxe (treino)), danca (Dança / zumba), yoga (Yoga / alongamento), pilates (Pilates).

Output Schema

NameRequiredDescriptionDefault
metYes
kcalYes
paginaYesPágina da calculadora, com o método e as fontes.
atividadeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine context by disclosing the MET-based deterministic formula and its source (Compêndio de Atividades Físicas), which explains why results are estimates. It stops short of noting accuracy limits or that MET values are population averages.

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 that names the output first, then the inputs, then the formula. Dense but every clause earns its place; the inline formula is the only slightly heavy element.

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?

An output schema exists, so return values need not be explained, and the formula covers the core behavior. Still missing for a calculation tool: the output unit (kcal), an estimate/accuracy caveat, and any positioning relative to the similar sibling calculators.

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%, with each parameter and every enum value documented in-schema, so baseline is 3. The description reinforces that 'atividade' drives a MET lookup and that peso/minutos are the other inputs, but adds no format, unit, or edge-case detail beyond the schema.

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+resource: calories burned in a physical activity, derived from weight and duration via average MET values. The formula makes the computation unambiguous. However, it does not distinguish itself from the sibling calcular_gasto_calorico, which plausibly covers overlapping territory.

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?

No explicit when-to-use, when-not-to-use, or alternative is named. The presence of a close sibling (calcular_gasto_calorico) makes this omission costly, since an agent has no textual basis for choosing between them. Usage is only inferable from the name and formula.

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.

Resources