Skip to main content
Glama
Local Business Data & Report Analyst

Local Business Data & Report Analyst

monthly_trend

Calculate month-over-month totals and percentage growth for revenue, net revenue, orders, units, or profit to track business performance trends.

Instructions

Show month-over-month totals and % growth for 'revenue', 'net_revenue', 'orders', 'units', or 'profit'.

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

Input Schema

NameRequiredDescriptionDefault
metricNorevenue

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and leaves major gaps. It never states the time window covered (the schema exposes only a metric, no date range), what dataset or data source is queried, whether results are cached or scoped to the caller, or how many periods are returned — all material for interpreting a 'month-over-month' result.

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?

One sentence, front-loaded with the operation and its output shape, with the allowed values packed in economically. No redundant phrasing or filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so the description needn't explain return values, and the metric vocabulary is covered. However, for a trend tool in a catalog with list_datasets and preview_dataset siblings, the absence of any statement about which data the trend runs over, or over what period, is a significant omission for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single 'metric' parameter has no enum, so the description is the only place valid values appear — and it supplies them explicitly ('revenue', 'net_revenue', 'orders', 'units', 'profit'). It does not mention the default of 'revenue' or the parameter name itself, which keeps it short of a 5.

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 uses a specific verb ('Show') plus a precise resource ('month-over-month totals and % growth') and enumerates the metrics covered, which is far more concrete than a generic 'get trend' label. It does not explicitly contrast itself with close siblings such as sales_summary, target_vs_actual, or compare_regions, so an agent must infer the distinction from the MoM framing alone.

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 rather than stated: the metric enumeration signals the intended question shape (trend of a single KPI over months), but there is no explicit when-to-use, when-not-to-use, or named alternative among the nine siblings. An agent choosing between this and sales_summary or compare_regions gets no routing help from the text.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.