Skip to main content
Glama

feegow_financial_write_update_nfse

Write financial operations in Feegow. Actions:

  • associate_account: associate financial account to patient (account, association).

  • update_nfse: update NFS-e number on invoice (invoice_id, nfse_numero).

  • pay_invoice: pay an invoice.

  • create_invoice: create a new invoice.

  • create_invoice_by_appt: create invoice from appointment.

  • create_voucher: create a voucher.

  • update_voucher: update a voucher.

  • pay_booking: pay a booking (bookingId, amount, associationId, accountId, paymentMethod, paymentDate YYYY-MM-DD).

For destructive removals (remove_invoice, remove_payment, cancel_voucher) use feegow_financial_delete.

[Flattened action: update_nfse]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYes
accountNo

TDQS

D1.7/5.0
Behavior2/5

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

While the description mentions specific parameters for pay_booking, it does not explain how the 'data' parameter encodes actions or what the expected behavior for each action is. The input schema contradicts the described parameters, undermining trust.

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

Conciseness3/5

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

The description is structured as a list of actions with brief details, which is clear for the actions themselves. However, the '[Flattened action: update_nfse]' note is extraneous and adds noise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the lack of output schema and the complexity of actions, the description is severely incomplete. It does not explain how to specify actions via the 'data' parameter, handle errors, or interpret results. The proliferation of sibling tools suggests this composite is redundant.

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

Parameters1/5

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

The input schema has zero description coverage, and the description's parameter hints (e.g., 'association' for associate_account) do not match the schema's parameters (only 'data' and 'account'). This mismatch creates confusion rather than clarity.

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

Purpose2/5

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

The description lists multiple actions under 'Write financial operations', but the tool name and the '[Flattened action: update_nfse]' note create confusion about its primary purpose. It fails to distinguish from sibling tools that cover the same individual actions, such as feegow_financial_write_create_invoice.

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

Usage Guidelines1/5

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

The description only provides exclusion for destructive removals, but does not clarify when to use this composite tool versus the existing specialized write tools. The presence of sibling tools with identical action names makes the guidance misleading.

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.

TDQS

D1.9/5.0
Disambiguation1/5

Many tools have identical descriptions (e.g., multiple tools with same 'Read appointments and scheduling data' text) and only differ by a 'flattened action' label, making it impossible for an agent to distinguish which tool to call for a specific operation.

Naming Consistency2/5

Names follow a loose verb_noun pattern but are extremely inconsistent: some use underscores, some have redundant prefixes like 'feegow_appointment_', and the same actions are duplicated across multiple tool names (e.g., 'list' appears in many). The 'flattened action' suffix is confusing.

Tool Count1/5

94 tools is far too many for a clinic management system. This is clearly due to a one-action-per-tool design that fragments the API surface, making the server bloated and hard to navigate. A typical well-structured server for this domain would have 10-20 tools.

Completeness3/5

The server covers many areas (appointments, patients, financial, procedures, stock, etc.), suggesting broad functionality. However, the fragmentation obscures gaps and makes it difficult to determine if all CRUD operations exist for each entity. Some areas (e.g., stock write) have multiple tools for single actions.