Skip to main content
Glama

Get Income

get_income
Read-only

Retourne le détail complet d'une recette locative par son identifiant : montants TTC/HT, TVA, frais de plateforme, taxe de séjour, informations de réservation et du voyageur ; 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

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": {
      "income_id": "<income_id>"
    },
    "name": "get_income"
  }
}

Input Schema

NameRequiredDescriptionDefault
income_idYesIdentifiant de la recette

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / income_id / description
      Added value: +"Identifiant de la recette"
  2. First observed

TDQS

A3.5/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, and the description is consistent with that ('Retourne'). It does add useful behavioral detail about conditional content — a rent generated from a bail also carries the bail id, the charges share and the encaissement date — but says nothing about not-found handling or response shape for other income types.

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?

One sentence, front-loaded with verb and resource before the field enumeration, so an agent gets the gist immediately. The dense field list earns its place as return-content documentation in the absence of an output schema.

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 a read-only, one-parameter tool with no output schema, the description adequately documents what comes back, including the bail-specific extension. The remaining gap is error/empty behavior when the identifier does not resolve.

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?

Single parameter with 100% schema description coverage ('Identifiant de la recette'), so the schema already carries the semantics. The description only restates 'par son identifiant' and adds no format, source, or lookup guidance beyond it.

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?

States a specific verb and resource ('Retourne le détail complet d'une recette locative par son identifiant') and enumerates the exact data domain (montants TTC/HT, TVA, frais de plateforme, taxe de séjour, réservation/voyageur). This clearly separates it from the mutating siblings create_income/update_income/delete_income without naming them, though it never explicitly contrasts with a list/search counterpart.

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?

Usage is only implied: fetch a single income record when you already hold its identifier. There is no explicit statement of when to prefer this over a listing or aggregate tool (e.g. get_dashboard_summary), and no prerequisite or exclusion guidance.

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.