Skip to main content
Glama

List Incomes

list_incomes
Read-only

Liste les recettes locatives de l'utilisateur avec filtres optionnels par bien, bail, année et plateforme (airbnb, booking, abritel, direct, other). Retourne les montants en euros avec TVA, frais de plateforme et taxe de séjour ; pour un loyer généré depuis un bail, l'identifiant du bail, la part de charges comprise dans le montant et la date d'encaissement.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
yearNoFiltrer par année fiscale, ex: 2024 (optionnel)
sourceNoFiltrer par plateforme : airbnb, booking, abritel, direct, other (optionnel)
lease_idNoFiltrer sur les loyers générés depuis un bail, par son identifiant (voir list_leases, optionnel)
property_idNoFiltrer par identifiant de bien (optionnel)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / lease_id
      Added value: +{
      +  "description": "Filtrer sur les loyers générés depuis un bail, par son identifiant (voir list_leases, optionnel)",
      +  "type": "integer"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / property_id / description
      Added value: +"Filtrer par identifiant de bien (optionnel)"
    • addedInput schema / properties / source / description
      Added value: +"Filtrer par plateforme : airbnb, booking, abritel, direct, other (optionnel)"
    • addedInput schema / properties / year / description
      Added value: +"Filtrer par année fiscale, ex: 2024 (optionnel)"
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint annotation already covers the safety profile, so the description is free to add value elsewhere — and it does, disclosing what each record contains (euros amounts, TVA, platform fees, tourist tax, and for lease-generated rent the lease id, charge share and payment date). It omits pagination, sorting and result-size behavior, which keeps it short of a 5.

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?

Two sentences, front-loaded with purpose then return contents, with no filler. The second sentence is long and semicolon-joined, slightly reducing scannability, but every clause carries real 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?

With no output schema, the description usefully enumerates the returned fields, which an agent would otherwise have to discover by calling. For a read-only list tool with four documented optional parameters, the only real gap is result-volume/pagination behavior.

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 description coverage is 100%, so all four parameters already carry their own descriptions and enum-like platform values. The description restates the same filter axes and adds nothing beyond the schema, which is the correct baseline when structured data does the lifting.

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?

The description opens with a specific verb and resource ('Liste les recettes locatives de l'utilisateur') and immediately scopes it with the optional filter axes (bien, bail, année, plateforme). Combined with the tool name, an agent can distinguish this from list_expenses or create_income without opening the schema.

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

Usage Guidelines3/5

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

It states that all filters are optional and cross-references list_leases for obtaining a lease_id, which is genuinely useful. However, it never says when to prefer this tool over siblings (e.g. list_expenses, get_dashboard_summary) or whether combining filters is supported, so usage is only implied.

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.