Skip to main content
Glama

Juntamos: organizar grupos

Añadir un gasto

anadir_gasto

Añade un gasto a un grupo de gastos compartidos creado con crear_gastos (quién pagó, cuánto y entre quiénes se reparte) y devuelve quién debe a quién. Úsala para: "Ana pagó 60 € de la cena entre todos", "añade que Luis pagó 24,50 de gasolina entre Luis y Marta". Devuelve: los pagos para quedar en paz y el total, con el enlace del grupo. Límites: necesita el enlace o token de administración (id_admin); los nombres deben estar en el grupo; si entre_quienes va vacío, se reparte entre todos.

Adds an expense to a shared expenses group created with crear_gastos (who paid, how much and who shares it) and returns who owes whom. Use it for: "Ann paid 60 euros for dinner for everyone", "add that Luke paid 24.50 for fuel shared by Luke and Mary". Returns: the payments to settle up and the total, with the group link. Limits: needs the admin link or token (id_admin); names must be in the group; empty entre_quienes means everyone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
importeYesImporte en euros / amount in euros. Ej.: 24.5 o "24,50"
conceptoNoConcepto / what for. Ej.: "Cena"
id_adminYesEnlace o token de administración devuelto por crear_gastos / admin link or token returned by crear_gastos
quien_pagoYesQuién pagó / who paid. Ej.: "Ana"
entre_quienesNoEntre quiénes se reparte; vacío = todos / who shares it; empty = everyone

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources