Skip to main content
Glama

Collections trend

collections_trend
Read-onlyIdempotent

Rent billed vs collected per calendar month with a collection rate. Use this for "are we getting better or worse".

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": "collections_trend"
  }
}

Input Schema

NameRequiredDescriptionDefault
monthsNoHow many months back (1-36, default 12).

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and openWorldHint=false, so the safety profile is fully covered. The description adds one genuinely new behavioral fact: results are bucketed by calendar month and include a derived collection rate. It says nothing about currency, whether partial payments are credited, or empty-month handling, which matters for interpreting the rate.

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

Conciseness5/5

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

Two short sentences, front-loaded with what is returned and followed by the decision it supports. Nothing is padded or repeated from the schema or annotations.

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 an output schema present, return shape need not be explained, and a single optional documented parameter keeps the surface small. The description is sufficient to call the tool correctly, though noting the default window's effect (12 months, max 36) and payment-crediting assumptions would close the remaining gap.

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% and the single parameter 'months' already carries its range and default of 12. The description only reinforces 'per calendar month' granularity and adds no format, clipping, or anchoring detail beyond the schema. Baseline 3 applies when the schema does the work.

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 names a concrete resource and metric set: 'rent billed vs collected per calendar month with a collection rate'. That is far more specific than a restatement of the name 'Collections trend'. It stops short of differentiating itself from nearby reporting siblings such as budget_preview or consolidated_statement.

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?

The second sentence gives an explicit intent cue: use it for the 'are we getting better or worse' question, which frames this as a directional/trend tool rather than a point-in-time report. It does not name exclusions or an alternative tool for point-in-time or per-tenant views.

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