Skip to main content
Glama

List expenses that can be passed on as suplidos

list_suplido_candidates
Read-only

For a full draft of any concept (e.g. the management fee invoice to an owner): the expenses of its home(s) from the last 18 months paid to a supplier that could go on it as suplidos — date, description as it would print, amount — each saying if it is already on another invoice (chargedOn) or was already taken off the owner's payout (deducted: true, the manager collected that period), in which case it cannot be added. Only an expense whose supplier invoice is made out to the owner and that was paid on their behalf is a suplido: ask the user which ones before adding them with update_invoice_draft suplidos. Requires the invoicing feature.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "list_suplido_candidates"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe draft invoice ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description carries the real burden and does so: it discloses the 18-month window, the supplier-invoice-made-out-to-owner criterion, the paid-on-behalf condition, the chargedOn/deducted flags, the rule that deducted expenses cannot be added, and the requirement that the invoicing feature be enabled. It also describes the returned record fields, which matters because there is no output schema.

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 purpose is front-loaded, but the body is one long chain of em-dash parentheticals and nested clauses that forces re-reading. The information is useful, yet several asides (e.g. 'the manager collected that period') could be trimmed or split into shorter sentences.

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 single-parameter read with no output schema, the description covers eligibility rules, returned fields, blocking conditions, preconditions (invoicing feature), and the required human-confirmation workflow. Nothing an agent needs to call it correctly and interpret results is missing.

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% and the single 'id' parameter is documented as the draft invoice ID. The description's 'For a full draft of any concept' confirms the id refers to a draft invoice, adding marginal meaning but no format or lookup guidance beyond the schema. Baseline 3 applies.

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

Purpose4/5

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

The description gives a concrete verb and resource: expenses of the draft invoice's home(s) from the last 18 months that qualify as suplidos, plus the fields returned (date, printable description, amount, chargedOn, deducted). The domain term 'suplido' is defined inline, which keeps the purpose recoverable, but the single run-on sentence and jargon make it slower to parse than a clean statement would be.

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?

It states the context clearly ('For a full draft of any concept, e.g. the management fee invoice to an owner') and gives the downstream step: ask the user which ones before adding them with update_invoice_draft suplidos. It also gives an exclusion rule (expenses already charged or deducted cannot be added). It stops short of naming when to prefer this over the sibling list_expenses, so it is a 4 rather than a 5.

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.