Skip to main content
Glama

Report for a location

locations_report
Read-only

What one location did in the last 7, 30 or 90 days: how many posts went out and where, what they got, which did best, what failed and what is scheduled next. text is the same thing in plain words, ready for the user to send to the branch or the client: show it to them as it is. Without an id the answer is every location side by side for the same period, with the totals of all of them. Part of Pro; refused on other plans.

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

Input Schema

NameRequiredDescriptionDefault
idNoA location id from locations_list. Leave out for every location side by side.
daysNoThe period, counted back from now: 7, 30 or 90 days. 30 when left out.
brandIdNoThe brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / brandId
      Added value: +{
      +  "description": "The brand this is for, by its id from brands_list. Needed when the login has more than one brand; with one brand it can be left out.",
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, non-destructive, closed-world, so the bar is lower; the description still adds real value by disclosing the plan gate and by instructing the agent to present `text` verbatim to the user rather than paraphrasing it. It does not discuss latency or cost of aggregating all locations, which would be the remaining useful trait.

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-loads the scope and content before the id-less fallback and the plan constraint. Sentences are dense but each carries information; the plain-language note about `text` is slightly buried mid-paragraph and could be more prominent.

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?

With no output schema, the description correctly takes on the burden of explaining return content by listing the report sections and the human-readable `text` field. Combined with the plan gate and default period, an agent has enough to call and present results, though it says nothing about report freshness or how scheduled items are bounded.

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 the baseline is 3. The description reinforces the id-omission behavior and the period choices, but adds no format, constraint, or edge-case detail beyond what the schema already states (including the 30-day default).

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-and-resource combination (a report of what one location did over 7/30/90 days) and enumerates the exact contents: posts sent, where, results, top performer, failures, scheduled items. The no-id variant (all locations side by side with totals) is described explicitly, so an agent can distinguish it from locations_list.

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?

Gives clear selection logic: pass an id for one location, omit it for a cross-location comparison, and it points at locations_list as the id source. Adds a hard eligibility constraint (Pro plans only, refused elsewhere). It stops short of naming a competing analytics alternative, but the included when-to-use rules are solid.

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.