Skip to main content
Glama

TreinoAI

Calcular TMB

calcular_tmb
Read-onlyIdempotent

Taxa metabólica basal (TMB): as calorias que o corpo gasta em repouso absoluto, por Mifflin-St Jeor (1990) e Harris-Benedict revisada (1984).

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": {
      "sexo": "<sexo>",
      "idadeAnos": "<idadeAnos>",
      "pesoKg": "<pesoKg>",
      "alturaCm": "<alturaCm>"
    },
    "name": "calcular_tmb"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexoYesSexo usado pelas fórmulas: masculino ou feminino.
pesoKgYesPeso corporal em kg.
alturaCmYesAltura em cm.
idadeAnosYesIdade em anos.

Output Schema

NameRequiredDescriptionDefault
paginaYesPágina da calculadora, com o método e as fontes.
mifflinStJeorKcalYes
harrisBenedictKcalYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/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 fully covered. The description's added value is limited to the formula provenance, which does help interpret the number, but it leaves open the key behavioral question of which of the two cited formulas is selected. An output schema exists, so the omission of return format is acceptable.

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 sentence that front-loads the quantity and its plain-language gloss, with no filler. The citation of two formulas in parentheses is compact but slightly misleading, since it does not resolve which one governs the result.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple four-parameter, fully-required, fully-documented read-only calculator with an output schema and complete annotations, the definition supplies what an agent needs to select it. Formula attribution is a bonus; the gaps are interpretive rather than blocking.

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 units, ranges and an enum for sexo, so the schema already carries parameter meaning. The description adds nothing about how sexo maps to the formula (it is a binary enum feeding a sex-specific equation) or about the age/weight/height bounds, 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?

The description names the specific quantity (taxa metabólica basal, resting caloric expenditure) and the exact formulas used (Mifflin-St Jeor 1990, Harris-Benedict revisada 1984), which clearly separates it from siblings like calcular_gasto_calorico or calcular_deficit_calorico. It falls short of 5 because it is phrased as a definition rather than stating that the tool computes and returns a value, and it does not say which formula is actually applied or whether both are returned.

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 guidance: nothing says to call this as a baseline before applying an activity factor, nor does it name an alternative such as calcular_gasto_calorico for total expenditure. The 'em repouso absoluto' phrasing hints at the baseline role, but that is inference rather than guidance.

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