Skip to main content
Glama

Weekly report

weekly_report
Read-onlyIdempotent

Use this when the user wants a recap or a report to save: "how did last week go", "what should I post next", "export my analytics". Views and posts by platform against the period before, top posts, best time, and post_next (unposted clips plan_posts can draft); as_csv adds every post as CSV. Not for: one post (get_post_stats) or a chart in the chat (show_report). Free and read only.

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

Input Schema

NameRequiredDescriptionDefault
daysNoDays to cover, 1-90
as_csvNoAlso return every post of the period as CSV text to save
timezoneNoIANA zone, e.g. America/ChicagoUTC

Output Schema

NameRequiredDescriptionDefault
csvNo
noteYes
postsYes
viewsYes
best_timeYes
post_nextYes
top_postsYes
by_platformYes
period_daysYes
views_previous_periodYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / as_csv
      Added value: +{
      +  "description": "Also return every post of the period as CSV text to save",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / csv
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Csv"
      +}
  2. Changed5 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"Days to cover, 1-90"
    • removedInput schema / properties / days / title
      Removed value: -"Days"
    • addedInput schema / properties / timezone / description
      Added value: +"IANA zone, e.g. America/Chicago"
    • removedInput schema / properties / timezone / title
      Removed value: -"Timezone"
    • removedInput schema / title
      Removed value: -"weekly_reportArguments"
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered; the description adds 'Free and read only' confirmation plus substantive detail about what the report contains and that post_next draws on unposted clips plan_posts can draft. It stops short of covering cost of the CSV mode, size limits, or latency, so it is strong but not exhaustive beyond the annotations.

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 trigger condition and sample user phrasings, then report contents, exclusions, and safety in three tight sentences with no filler. The parenthetical '(unposted clips plan_posts can draft)' and dense comma-separated content list make it slightly telegraphic, but nothing is wasted.

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?

An output schema exists, so return values need not be explained, and the description still outlines the report sections well enough to set expectations. With all three params documented, defaults given, siblings distinguished, and mutation profile settled by annotations, nothing an agent needs to call this correctly is missing.

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 coverage is 100%, so days, as_csv and timezone are already documented at the field level; the description only restates as_csv ('adds every post as CSV') and implies days via 'last week'. With the schema carrying the parameter burden, the baseline of 3 applies.

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 description names the resource (a weekly recap report) and enumerates its contents: views and posts by platform against the prior period, top posts, best time, and post_next. It explicitly contrasts itself with get_post_stats (one post) and show_report (chart in chat), so an agent can select it without opening any schema.

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?

It provides both when-to-use (user wants a recap or a saved report, with three concrete example phrasings) and a 'Not for' clause routing to the two correct siblings. Alternatives are named with the condition that selects them, leaving nothing to inference.

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