Skip to main content
Glama

Review receivables health

get_receivables_health
Read-onlyIdempotent

Return a read-only receivables health view for the signed-in SHVL workspace: accounts-receivable balance, overdue ageing, invoices raised this month, receivables payments recorded this month, concentration and 30-day overdue movement where available. This is not a bank balance, cash-flow, profit or whole-business health report.

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": {
      "workspace_id": "<workspace_id>"
    },
    "name": "get_receivables_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
workspace_idYesSelected business ID from list_shvl_workspaces. Ask the user to choose if several businesses are available; never infer another business.

Output Schema

NameRequiredDescriptionDefault
trendYes
ageingYes
sourceYes
currentYes
coverageYes
data_noticeYes
generated_atYes
organisationYes
unavailable_metricsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Exact workspace_id returned by list_shvl_workspaces and selected by the user. Never infer a different client workspace."New value: +"Selected business ID from list_shvl_workspaces. Ask the user to choose if several businesses are available; never infer another business."
    • addedOutput schema / description
      Added value: +"current and ageing contain receivables amounts in currency minor units; concentration and percentage changes use basis points. trend compares the recorded 30-day snapshot and may contain nulls when no comparison exists. coverage and unavailable_metrics state why this cannot be used as a bank balance, cash-flow or profit report."
  2. Changed2 schema fields changed
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "description": "Exact workspace_id returned by list_shvl_workspaces and selected by the user. Never infer a different client workspace.",
      +  "maxLength": 120,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / required
      Added value: +[
      +  "workspace_id"
      +]
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety needs no restating. The description adds genuinely new behavioral context: results are scoped to the signed-in workspace, and 'where available' signals that some metrics may be absent rather than zero — an important interpretation caveat the annotations cannot convey.

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 the return type and scope, followed by the metric inventory and then the disclaimers. The metric list is long but each item is a distinct output field an agent needs for routing; the only mild redundancy is 'read-only', which annotations already state.

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 single-parameter read tool with a full output schema, this covers scope, contents, availability caveats, and negative boundaries — return-value explanation is correctly delegated to the schema. The one remaining gap is relative routing against collection-oriented siblings, which would belong in usage guidance rather than here.

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% for the single workspace_id parameter, and the schema already instructs the agent to pull the ID from list_shvl_workspaces and never infer another business. The description reinforces the scoping ('signed-in SHVL workspace') but adds no new parameter-level syntax or constraints beyond that, so baseline 3 applies.

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?

States a specific verb and resource ('Return a read-only receivables health view') and enumerates the exact metrics included: AR balance, overdue ageing, invoices raised, payments recorded, concentration, and 30-day overdue movement. The closing exclusion ('not a bank balance, cash-flow, profit or whole-business health report') separates it functionally from broader financial-report siblings without needing their names.

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 implied by the exclusions — an agent knows not to reach for this when it wants cash-flow or whole-business health — but no explicit when-to-use condition or named alternative (e.g. get_credit_control_brief for collections actions) is given. The agent must infer the routing decision from the metric list.

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.

Resources