Skip to main content
Glama

Shop summary

get_shop_summary
Read-onlyIdempotent

The shop at a glance: the six Owner › Analytics numbers for a period (unique, new and returning customers, stamp visits, rewards unlocked and redeemed), the plan, and how many branches and programs there are. Periods use the business time zone.

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_shop_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNotoday, 7d or 30d (days end today, business time zone)7d

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real substance: it enumerates the exact metrics returned and states the time-zone convention for periods, which the annotations do not convey.

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 sentences, front-loaded with the summary content and followed by the time-zone caveat. Dense but every clause carries information; only the time-zone sentence is partly redundant with the schema.

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?

There is no output schema, so the description must disclose what comes back, and it does so by naming the six metrics plus plan and branch/program counts. For a single-optional-param read tool that is essentially complete; only the absence of any relationship to get_analytics leaves a minor gap.

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?

With a single parameter at 100% schema coverage and an enum plus default already documented, the schema carries the load. The description's note that periods follow the business time zone restates the schema's own 'business time zone' wording, adding little new meaning.

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?

Names a specific resource (the shop summary) and enumerates exactly what it contains: six analytics metrics, the plan, branch and program counts. It is clear what an agent gets back, though it never contrasts itself with the sibling get_analytics, which is the obvious near-neighbor.

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?

The phrase 'at a glance' and the fixed owner-analytics metric set imply a quick overview rather than a deep breakdown, but no explicit when-to-use or when-not guidance is given. An agent must infer that get_analytics is the alternative for anything beyond these six numbers.

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