Skip to main content
Glama
JuanDsm04

finanzas-pyme

by JuanDsm04

proyeccion_flujo_caja

Project future cash flow to check if funds will cover next month's expenses, adjusting revenue for seasonality and separating fixed and variable costs. Optionally include a starting balance for a direct answer.

Instructions

Proyecta si alcanzara el dinero para cubrir los gastos del proximo mes.

Responde "me va a alcanzar el mes que viene?". Proyecta los ingresos con una tendencia corregida por estacionalidad, los gastos fijos categoria por categoria (lo que hace que julio con Bono 14 y diciembre con aguinaldo salgan correctos) y los gastos variables como proporcion de los ingresos. Devuelve el flujo neto, el saldo proyectado y una respuesta directa.

Args: meses: Cuantos meses proyectar hacia adelante, entre 1 y 6. saldo_inicial: Saldo en caja al inicio de la proyeccion, en quetzales. Si se omite se usa el resultado acumulado de los ultimos 6 meses como aproximacion, y se advierte en la respuesta. ventana: Cuantos meses de historial usar para ajustar la tendencia (3 a 18).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mesesNo
ventanaNo
saldo_inicialNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations are present, but the description carries the full burden by explaining the methodology: income trend with seasonality correction, fixed expenses category-by-category (including Bono 14 and aguinaldo), variable expenses as a proportion of income, and the fallback behavior for omitted saldo_inicial.

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?

The description is information-dense and well organized: it opens with the purpose, then explains methodology and output, and finishes with a compact parameter list. No redundant filler.

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?

Given that an output schema exists and annotations are absent, the description covers the essential context: what the tool calculates, how it calculates it, what it returns, and the meaning and defaults of every parameter. Nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides only names and defaults; the description adds meaningful detail for all three parameters, including units (quetzales), valid ranges (1-6 months for meses, 3-18 for ventana), and the exact fallback behavior when saldo_inicial is omitted.

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?

States a specific action: projecting whether available cash will cover next month's expenses, and describes the output (net flow, projected balance, direct answer). This clearly distinguishes it from sibling tools like expense breakdown or income trend.

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

Usage Guidelines4/5

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

Provides clear context by framing the tool as answering 'will I have enough next month?', and describes the projection approach. It does not explicitly name sibling alternatives or state when not to use it, so it falls short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JuanDsm04/mcp-finanzas-pyme'

If you have feedback or need assistance with the MCP directory API, please join our Discord server