Skip to main content
Glama
Local Business Data & Report Analyst

Local Business Data & Report Analyst

target_vs_actual

Compare regional Net Revenue and Net Margin against targets to calculate variance, attainment %, and pro-rated performance.

Instructions

Compare regional Net Revenue & Net Margin against regional_targets.xlsx with variance, attainment %, and pro-rating.

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

Input Schema

NameRequiredDescriptionDefault
regionNo
prorateNo
end_dateNo
start_dateNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/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 disclosure burden. It usefully reveals the computed outputs (variance, attainment %, pro-rating) and the external data source, but says nothing about dependency on the targets file existing, how missing regions are handled, or cost/performance characteristics.

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 that names the comparison, the data source, and the outputs with no filler. It is dense but all of it is relevant to selecting the tool.

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?

An output schema exists, so return values need not be explained, and the four optional parameters are few. The remaining gap is the unexplained date-range parameters, but for a read-style reporting tool of this complexity the description is close to sufficient.

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%, so the description must compensate. It hints at 'regional' and 'pro-rating', loosely mapping to the region and prorate parameters, but gives no semantics for start_date/end_date (format, defaults, whether empty means all time) and does not say what an empty region means.

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 concrete verb ('Compare') plus the specific resources measured (Net Revenue & Net Margin) and the baseline (regional_targets.xlsx), so an agent knows this is a target-vs-actual variance report rather than a raw data query. It does not explicitly separate itself from siblings like compare_regions, but the named target file makes the scope reasonably distinct.

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: the tool is clearly for target attainment analysis, which narrows the choice, but there is no explicit statement of when to pick this over compare_regions, sales_summary, or monthly_trend, and no prerequisites or exclusions are given.

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