Skip to main content
Glama

Monthly goals and how realistic they are

get_goals
Read-onlyIdempotent

The month's goals register — net revenue, total media spend, the MER target (computed, never typed), the nCAC target and the per-platform budgets — and where each half comes from: set by the team, or suggested: Nuira's proposal from the store's own history, which counts everywhere until someone accepts or edits it. suggestion.revenueBasis / spendBasis say how it was derived (the average of recentMonths, or sameMonthLastYear × the year-over-year trend measured on trendMonths; seasonalOutcome held = kept at last year's month because the trend is only slightly negative, declining = below it because the store is clearly down on last year — say so); withheld platforms had their spend sync down, so their share is left unassigned rather than proposed 0. checks judges each goal against the store's history: realistic: false means above high (for nCAC, below low); quote low–high as the realistic range and reference (referenceKind, referenceMonth) as the fact it rests on. Pass netRevenue, totalSpend or ncacTarget to judge values the person is considering; month is YYYY-MM, the store's current month by default. Each value's origin (goals.origins, and budgetOrigin / targetOrigin per platform) says who set it: nuira_proposed = Nuira's proposal, not accepted by anyone; nuira_accepted = Nuira's proposal, accepted by by on at; human = set by by on at; copiedFrom = copied from that month by its by. Use it when asked who set a goal or whether it is Nuira's. annual is the month's YEAR: the stored annual goal (netRevenue, totalSpend, their origins, ambition; null when nobody set one), the months summed (monthsNetRevenue, monthsTotalSpend: each month's goal, or what a closed month without one did) and each month's figures with their origins — a month origin with fromYear was written by spreading the annual goal; a human one without it was set on its own and is never moved by a spread. An annual totalSpend origin nuira_proposed means only the sales were set and Nuira proposes each month's spend from its history. channelClasses sorts each ad platform over the last 12 full months (from–to) by its OWN claimed revenue (Plataforma) and ROAS: stable (flat ROAS, steady volume), growing (ROAS or claimed revenue rising, ROAS not falling), declining (ROAS falling, or claimed revenue falling while ROAS did not rise), volatile (months scattered around their trend), or not_enough_history (reason short_history = fewer than 9 usable months, low_volume = months under 10 platform conversions). roasFrom/roasTo are the trend line at the first and last usable month; roasChange and revenueChange the relative move across them. It says where next year's budget looks safest or most promising; it is NOT a forecast and NOT a budget split: never turn it into euros. READ-ONLY: goals are saved only in the goals editor, by their owner — never say you set or changed one. When a goal is unrealistic, explain why with these figures, propose the realistic range, and ask what would make it reachable (a launch, a big campaign, a new market…). A goal is ALWAYS saved as typed: one saved above its range is marked not realistic, never refused; ambition (per half, and on annual) lists the goals saved that way (fields) and a reason only when one was given ("" otherwise) — say it is marked not realistic, never that it was refused or needs a reason.

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

Input Schema

NameRequiredDescriptionDefault
monthNo
ncacTargetNo
netRevenueNo
totalSpendNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and non-destructive, and the description reinforces this with a concrete rule ('goals are saved only in the goals editor, by their owner'). It adds real behavioral context beyond annotations: 'A goal is ALWAYS saved as typed: one saved above its range is marked not realistic, never refused', and that withheld platforms are left unassigned rather than proposed 0. No contradictions, though it could note cost/auth of the 12-month channel sorting.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single very dense block covering returned fields (origins, annual, channelClasses, ambition) that, with no output schema, must be somewhere — but the backtick-heavy enumeration of every field and enum value makes it hard to scan. Meaningful content is present, yet it is not front-loaded for an agent skimming for when-to-use; the guidance sentences are buried mid-paragraph.

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?

With no output schema, the description must explain the response shape and does so thoroughly: origins enum meanings, checks.realistic semantics with low/high/reference, annual goal derivation, and channelClasses classification rules including not_enough_history reasons. Given the complexity, an agent has enough to interpret results and frame follow-up questions.

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%, so the description carries the full burden and largely does: 'month is YYYY-MM, the store's current month by default' and the three value parameters exist to 'judge values the person is considering'. All four parameters gain meaning absent from the schema, though units/precision of the numeric targets are only implied.

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?

The opening states a specific resource (the month's goals register: net revenue, media spend, MER target, nCAC target, per-platform budgets) and its realistic-check function, then explicitly distinguishes itself from the goals editor ('goals are saved only in the goals editor'). An agent can tell exactly what this returns versus a mutation or forecast tool.

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

Usage Guidelines5/5

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

Explicit triggers are given: 'Use it when asked who set a goal or whether it is Nuira's', and 'Pass netRevenue, totalSpend or ncacTarget to judge values the person is considering'. It states when-not conditions too: 'it is NOT a forecast and NOT a budget split: never turn it into euros', plus read-only instructions to never claim setting a goal.

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