Skip to main content
Glama

get_targets

List the merchant's active targets with LIVE actual-vs-target pacing, recomputed from ground truth on every call (never stored). Each target returns a pacing block: status (ahead / on_track / at_risk / behind / too_early / not_paceable), actualToDate, projected month-end with its interval, progressPercent, gapToTarget, currentDailyPace vs requiredDailyRunRate, and days elapsed/remaining. Live month-pacing is available for monthly revenue/orders targets scoped to a store; other targets return the goal and defer to get_yoy_monthly / query_metric_snapshots. HONESTY: the status band is derived from the forecast's low/high interval — 'behind' means behind the optimistic end — and below 25% of the period elapsed it returns 'too_early' rather than a noisy verdict. Filter with metric / period / store.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
storeNoOnly targets scoped to this sub-store key.
metricNoOnly targets for this metric.
periodNoOnly targets for this period type.
_offsetNoPagination offset. If a response includes _pagination.hasMore=true, use _offset to fetch the next page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are provided, so the description carries the full burden and does so unusually well: it discloses that values are recomputed from ground truth on every call and never stored, that the status band derives from the forecast interval's optimistic end, and that sub-25%-elapsed periods return 'too_early' instead of a noisy verdict. Each pacing field is enumerated, which is behavioral detail an agent cannot infer from the schema.

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?

Front-loaded with the core purpose before the field inventory and the honesty caveats. It is long and the pacing-field enumeration is dense, but each sentence adds real information; nothing reads as filler.

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

Completeness5/5

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

There is no output schema, so the description must describe returns — and it does, naming the pacing block and its constituent fields plus the six-value status enum. Combined with the honesty notes and the fallback routing, an agent has everything needed to call and interpret this tool.

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%, so all four parameters are already documented in the schema and the baseline is 3. The description adds only a light gloss (store means sub-store key, filters narrow by metric/period/store) and says nothing about _offset beyond what the schema states, so it does not meaningfully exceed structured data.

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 (list) plus resource (active targets) and scope (merchant's), then immediately narrows what subset actually has live pacing. It explicitly names the siblings it defers to (get_yoy_monthly / query_metric_snapshots), so an agent can distinguish it from the other ~57 get_* tools without opening a schema.

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?

Clear about when live pacing applies (monthly revenue/orders targets scoped to a store) and where to go otherwise, plus how to filter. What's missing is a top-level trigger statement telling the agent when to reach for this tool versus get_forecast or get_daily_metrics, but the routing for its edge cases is explicit.

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