Skip to main content
Glama
Javo2804

tricount-mcp

by Javo2804

create_expense

Create a Tricount expense with equal, exact-amount, or ratio splits. Preview first by default; set confirm=true to save it.

Instructions

Crea un gasto en un tricount. Sin confirm=true solo devuelve una vista previa.

El reparto se define con UNA de estas opciones (si no se da ninguna, se reparte en partes iguales entre todos los miembros):

  • split_among: lista de miembros, en partes iguales.

  • exact_amounts: monto exacto por miembro; debe sumar amount.

  • ratios: proporción por miembro (p. ej. {"Ana": 2, "Juan": 1}).

Args: acting_as: el miembro del tricount que es el usuario con quien conversas, tal como lo confirmó tras connect_tricount. "Yo", "me" o "conmigo" se refieren a este miembro. description: qué se compró. amount: monto total (positivo), en la moneda del tricount. paid_by: quién pagó ("yo" = acting_as). tricount: link o key del tricount. category: FOOD_AND_DRINK, GROCERIES, TRANSPORT, TRAVEL, ENTERTAINMENT, SHOPPING, RENT_AND_UTILITIES, HEALTHCARE, INSURANCE, OTHER; o un texto libre (categoría personalizada). expense_date: fecha del gasto (YYYY-MM-DD); por defecto hoy. confirm: true para guardar de verdad.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYes
ratiosNo
confirmNo
paid_byYes
categoryNo
tricountNo
acting_asYes
descriptionYes
split_amongNo
expense_dateNo
exact_amountsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the two-phase preview/commit semantics via confirm=true, the default-equal-split fallback, and the sum constraint on exact_amounts. It still omits permission/auth requirements and whether a preview returns a stable identifier for a later commit.

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?

Front-loaded with the confirm/preview rule, then a scannable bulleted split block, then an Args section. Slightly verbose and mixes prose and PyDoc-style Args, but every section carries non-redundant 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?

For an 11-parameter mutation tool with no annotations and no output schema, the description covers the critical unknowns: confirmation gating, split mutual exclusivity, and the exact_amounts sum invariant. What it lacks is any statement about the preview's return shape and what errors to expect on a mismatched sum.

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?

Schema coverage is 0%, so the description must compensate, and it does: it defines acting_as, description, amount (positive, tricount currency), paid_by, tricount, category (with a full enum listing plus free-text fallback), expense_date format and default, plus the three split strategies. This is nearly a complete parameter glossary.

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 verb+resource ('Crea un gasto en un tricount') and immediately distinguishes behavior from siblings by disclosing the preview-by-default semantics ('Sin confirm=true solo devuelve una vista previa'). An agent can tell this apart from list_expenses or create_reimbursement without opening any schema.

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?

Explicitly explains the default no-split behavior ('si no se da ninguna, se reparte en partes iguales entre todos los miembros') and enumerates three mutually exclusive ways to define the split. It does not, however, state when to prefer exact_amounts over ratios, nor does it reference siblings for related flows.

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