Skip to main content
Glama
Local Business Data & Report Analyst

Local Business Data & Report Analyst

compare_regions

Compare regional Net/Gross revenue, net margin, AOV, refund rate, and period shifts against an equal prior window to identify performance gaps.

Instructions

Compare regional Net/Gross revenue, Net margin, AOV, refund rate, and period shift vs. an equal prior window.

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

Input Schema

NameRequiredDescriptionDefault
end_dateNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the analytical behavior: five computed metrics plus an automatic equal-length prior-period comparison. It omits anything about aggregation level, timezone/date handling, or empty-result behavior, so the behavioral picture is only partially filled in.

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?

A single front-loaded sentence with the comparison scope up front and the metric list following; nothing is redundant. The dense metric enumeration is slightly list-like but every clause carries information.

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 return values needn't be explained, but with zero schema coverage and no annotations the definition leaves date-format and default-handling questions unanswered. Adequate to select the tool, insufficient to invoke it confidently.

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

Parameters2/5

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

Schema description coverage is 0% for both parameters, so the description must compensate and does not. It never explains the expected date format, what an empty-string default for start_date/end_date means, or how the 'prior window' is derived from those inputs.

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 ('Compare') plus the resource ('regional') and enumerates the exact metrics returned: Net/Gross revenue, Net margin, AOV, refund rate, period shift. The 'vs. an equal prior window' clause scopes it further, distinguishing it from siblings like monthly_trend or sales_summary, though it never names those alternatives explicitly.

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

Usage Guidelines2/5

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

There is no when-to-use guidance and no exclusions. The phrase 'vs. an equal prior window' hints at the comparison model, but the description never says when an agent should pick this over refund_analysis, sales_summary, or target_vs_actual, nor what prerequisites (e.g., data availability for the prior window) exist.

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