Skip to main content
Glama

TreinoAI

Calcular pace de corrida

calcular_pace
Read-onlyIdempotent

Pace (min/km) e velocidade de uma corrida pela distância e pelo tempo, com a previsão de tempo para 5 km, 10 km, meia maratona e maratona pela fórmula de Riegel.

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": {
      "distanciaKm": "<distanciaKm>"
    },
    "name": "calcular_pace"
  }
}

Input Schema

NameRequiredDescriptionDefault
horasNoHoras do tempo total.
minutosNoMinutos do tempo total.
segundosNoSegundos do tempo total.
distanciaKmYesDistância corrida em km. Meia maratona: 21,0975; maratona: 42,195.

Output Schema

NameRequiredDescriptionDefault
paginaYesPágina da calculadora, com o método e as fontes.
pacePorKmYes
previsoesYes
velocidadeKmHYes
paceSegundosPorKmYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description usefully discloses the Riegel formula behind the race-time predictions, but says nothing about behavior with a zero/absent time or how the predictions degrade for atypical distances.

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

Conciseness5/5

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

A single front-loaded sentence that states the outputs, the inputs, and the method with no filler. Nothing in it is redundant or could be trimmed without losing information.

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 an output schema present, the return values need not be explained, and the description still names the computed outputs and the prediction targets. The only missing piece is explicit guidance that a total time must be provided for pace to be meaningful, given that the time fields are optional.

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%, so every parameter (including the half-marathon 21,0975 and marathon 42,195 reference values) is already documented in the schema. The description only restates that distance and time are the inputs and adds no format or unit detail beyond that baseline.

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 computation (pace in min/km, speed, and race-time predictions for 5 km, 10 km, half and full marathon) from distance and time, which is concrete and clearly a pure calculation tool. It does not explicitly contrast itself with the many sibling calculators, but the resource is unambiguous on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: 'pela distância e pelo tempo' hints that a total time is needed, but nothing states when to prefer this over sibling calculators or what to do when no time is supplied. The gap matters because only distanciaKm is required while horas/minutos/segundos default to 0, which would make pace undefined.

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