Skip to main content
Glama

report_targets

Set, view, or clear local goal targets that colour Zendesk report metrics green, amber, or red. Define per-metric goals and amber thresholds to flag performance gaps.

Instructions

Goals used to colour report metrics green/amber/red. Stored in a local JSON file (not in Zendesk). Amber = within amber_pct of the goal on the wrong side.

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

Input Schema

NameRequiredDescriptionDefault
actionNoget
metricsNoFor 'clear': metrics to remove (omit to clear all).
targetsNoFor 'set': {metric: goal} or {metric: {'goal': n, 'amber_pct': 10}}, e.g. {'csat_pct': 92, 'frt_median_business_min': 60}. Merged with existing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false and openWorldHint=true, but the description supplies genuinely new context: the state lives in a local JSON file rather than Zendesk, so it is per-machine and not shared. The amber threshold rule ('within amber_pct of the goal on the wrong side') is also a real behavioural disclosure an agent would otherwise have to guess. It stops short of noting that 'clear' can wipe all targets, which would have been worth flagging given destructiveHint=false.

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?

Two short sentences, no filler, and the most distinctive fact (local JSON, not Zendesk) comes early. The trade-off is that brevity came at the cost of stating the operations, so it is tight but under-loaded rather than padded.

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?

With no output schema and three modes on a single tool, the description should say what 'get' returns and how the merge behaves on 'set'. It covers the domain model and the amber calculation well, but an agent still has to open the schema to learn the tool is a get/set/clear interface.

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 coverage is 67% and the schema already documents the metrics and targets params well, so the baseline is around 3. The description earns above that by defining what amber actually means relative to amber_pct, which makes the targets shape ('goal', 'amber_pct') interpretable rather than opaque. The action param's three modes are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description explains what report targets ARE (goals colouring metrics green/amber/red) and where they live, which distinguishes this from the Zendesk-report siblings. But it never states the operation — that the tool lets you get, set, or clear goals — so an agent gets the concept without a clear verb. It reads more like a glossary entry than a tool definition.

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 guidance on when to call this versus the surrounding report tools (backlog_report, kpi_trends, etc.), and no prerequisites or exclusions. The 'stored in a local JSON file (not in Zendesk)' note is a data-location fact rather than a when-to-use rule.

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