Skip to main content
Glama

calcular_regla_tres

Read-only

Resuelve reglas de tres simples (directa e inversa) y compuestas. La regla de tres directa: si A→B entonces C→X (X = B×C/A). La inversa: si A×B = C×X (X = A×B/C). La compuesta maneja dos variables simultáneas con cualquier combinación directa/inversa. Muestra la fórmula y los pasos de resolución.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
aYesValor A (referencia 1 de la variable principal)
bYesValor B (resultado 1 de la variable principal)
cYesValor C (referencia 2 de la variable principal, para la que buscamos X)
dNoValor D (referencia 1 de la segunda variable). Solo para tipo "compuesta".
eNoValor E (referencia 2 de la segunda variable). Solo para tipo "compuesta".
tipoYes"simple-directa": proporción directa (más de A → más de B). "simple-inversa": proporción inversa (más de A → menos de B). "compuesta": dos variables simultáneas.
relacionSegundaVariableNoRelación de la segunda variable: "directa" (más D → más X) o "inversa" (más D → menos X). Solo para tipo "compuesta".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

The description adds behavioral context beyond annotations by detailing that the tool shows formulas and resolution steps. It does not contradict the readOnlyHint annotation.

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?

Three sentences that front-load the purpose and provide essential details without redundancy. Every sentence adds value.

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 mathematical calculator tool with full schema coverage and no output schema, the description adequately covers the behavior (formulas, steps) and context. No gaps remain.

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 coverage is 100%, so parameter descriptions are already in the schema. The description adds overall context but does not elaborate on individual parameter meaning beyond what the schema provides.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly specifies the tool resolves rule of three problems: direct, inverse, and compound, with exact formulas. It distinguishes from sibling calculators by stating its specific function.

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 implied by the description, but there are no explicit when-to-use or when-not-to-use statements, nor comparisons with sibling tools.

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