Skip to main content
Glama

Build a one-day AGC report (Markdown)

agc_daily_report
Read-only

Build a daily operations digest for AppGallery apps: 7-day download/install trend, crash or app-freeze totals, and a review snapshot; returns Markdown and can save to a file.

Instructions

Build a daily operations digest for one day (default: yesterday): the 7-day download/install trend ending that day, crash/app-freeze totals, and a review snapshot. Each section degrades independently into a marked paragraph; the Markdown is returned and optionally written to outPath.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoYYYY-MM-DD or YYYYMMDD (UTC). Default: yesterday
siteNoAGC site: cn / de / sg / ru (default from AGC_SITE, otherwise cn)
appIdYes
reportNoReport kind driving the download/install section (default harmony-download)
outPathNoOptional .md path to save the report
platformNoReview platform (default harmonyos)
countriesNoCountry codes for reviews (default CN)
crashKindNoDefault crash
overwriteNoAllow overwriting outPath

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), so the bar is lower, yet the description still adds real behavior: each section degrades independently into a marked paragraph, and output is Markdown returned inline plus optionally persisted to outPath. One subtlety remains unaddressed — a file write side effect sits in slight tension with readOnlyHint, mitigated only by the optional outPath/overwrite parameters.

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

Conciseness5/5

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

Two dense sentences with zero filler, front-loading what the report contains, then the degradation and output behavior. Every clause carries information.

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 9 parameters, no output schema and rich annotations, the description is nearly sufficient: content, defaults, failure behavior and output destination are all covered. Auth/prerequisite context and the overwrite semantics are left to the schema.

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 89%, so the baseline is 3, but the description adds genuine meaning beyond the schema: it explains that the 'report' enum drives the download/install section and ties platform/countries to the 'review snapshot', which is helpful given the opaque enum values.

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?

States a specific verb and resource ('Build a daily operations digest for one day') and enumerates exactly what the digest contains (7-day download/install trend, crash/app-freeze totals, review snapshot). This clearly separates it from agc_weekly_report by time window, though it never names the sibling explicitly.

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 description establishes context (a single-day consolidated digest, default yesterday) and that outPath writing is optional, giving implied usage. But it never states when to prefer this composite report over the granular siblings (agc_report_trend, agc_crash_summary, agc_reviews_list) or any exclusion.

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