Skip to main content
Glama

TreinoAI

Calcular proteína por dia

calcular_proteina
Read-onlyIdempotent

Faixa de proteína por dia para o peso e o objetivo, em g/kg, com a meta intermediária dividida em 4 ou 5 refeições.

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": {
      "pesoKg": "<pesoKg>",
      "objetivo": "<objetivo>"
    },
    "name": "calcular_proteina"
  }
}

Input Schema

NameRequiredDescriptionDefault
pesoKgYesPeso corporal em kg.
objetivoYesObjetivo: sedentario (pouco ativo, 0,8 a 1,2 g/kg), ativo (ativo, manter massa, 1,4 a 1,8 g/kg), hipertrofia (ganhar massa muscular, 1,6 a 2,2 g/kg), emagrecimento (emagrecer preservando massa, 1,8 a 2,7 g/kg).

Output Schema

NameRequiredDescriptionDefault
metaGYes
paginaYesPágina da calculadora, com o método e as fontes.
maximoGYes
minimoGYes
por4RefeicoesGYes
por5RefeicoesGYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive, closed-world calculation, so the safety profile needs no restating. The description adds behavior the annotations do not carry: the result is a range in g/kg and the intermediate target is distributed over 4 or 5 meals, which tells the agent what shape of answer to expect.

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 leads with the output (daily protein range) and closes with the meal-split detail. No filler, though the meal-split clause could be mistaken for a configurable option.

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

Completeness4/5

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

With rich annotations, 100% parameter documentation, and an output schema, the definition covers what an agent needs. The only soft spot is that the 4-vs-5 meal split is mentioned without explaining when each applies or that it is not user-controlled, but this is minor given the structured fields available.

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%, and the enum for objetivo already spells out the g/kg band for each goal in far more detail than the description. The description's 'em g/kg' merely echoes the unit, so the baseline 3 is appropriate — the schema does the heavy lifting here.

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 a concrete output — a daily protein range in g/kg derived from weight and goal, plus an intermediate target split across 4 or 5 meals. It is clear what the tool computes, though it never distinguishes itself from the obvious sibling calcular_macros, which an agent could reasonably pick instead.

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 explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as calcular_macros or calcular_calorias_queimadas. Usage is only inferable from the phrase 'para o peso e o objetivo'.

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