Skip to main content
Glama

TreinoAI

Calcular peso ideal

calcular_peso_ideal
Read-onlyIdempotent

Faixa de peso de referência para a altura, comparando as fórmulas de Devine, Robinson, Miller e Hamwi.

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>",
      "alturaCm": "<alturaCm>"
    },
    "name": "calcular_peso_ideal"
  }
}

Input Schema

NameRequiredDescriptionDefault
sexoYesSexo usado pelas fórmulas: masculino ou feminino.
alturaCmYesAltura em cm.

Output Schema

NameRequiredDescriptionDefault
paginaYesPágina da calculadora, com o método e as fontes.
hamwiKgYes
devineKgYes
maximoKgYes
millerKgYes
minimoKgYes
robinsonKgYes

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?

The annotations already declare a pure, idempotent, read-only, closed-world computation, so safety behavior is covered. The description adds method-level context by disclosing that four named formulas are compared, which is genuinely useful beyond the annotations. It omits, however, that the result is a range rather than a single value per formula and any caveat about the formulas' populations.

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; the reference-range concept comes first and the formula list follows as supporting detail. It is slightly nominal rather than action-oriented, but nothing is wasted.

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?

The presence of an output schema means return values need not be explained, and the two parameters are fully documented in the schema. What remains thin is the absence of any note on applicability or interpretation (that this is a reference range from classic formulas, not a clinical target), which matters for a health-adjacent calculation.

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 both sexo (enum with explanation) and alturaCm (with min/max bounds) documented in the schema itself. The description adds no meaning beyond that, so the 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 a specific resource (reference weight range for a given height) and even enumerates the underlying formulas (Devine, Robinson, Miller, Hamwi), which tells an agent exactly what class of calculation this is. It does not explicitly contrast with neighbors like calcular_imc or calcular_gordura_corporal, but the stated output is distinctive enough to identify the tool.

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 guidance on when to use this tool versus alternatives such as calcular_imc, nor any exclusion (e.g., adults only, not for clinical prescription). The description reads as an output summary rather than an instruction on selection or preconditions.

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