Skip to main content
Glama

导出 AGC 报表

agc_get_report
Read-only

Export AppGallery Connect operational reports as CSV or Excel and receive a temporary download URL. Optionally download the file and preview the first rows.

Instructions

导出运营报表(CSV/Excel),返回文件下载地址(有效期约 5 分钟,需要内容时直接传 downloadTo);可选下载到本地并预览前若干行。时间跨度一般不超过 180 天。可用报表:

  • harmony-download:HarmonyOS 应用下载安装(harmonyos)

  • harmony-install-failed:HarmonyOS 应用安装失败(harmonyos)

  • harmony-user-analysis:HarmonyOS 应用/元服务用户分析(harmonyos)

  • harmony-atomic-distribute:HarmonyOS 元服务分发分析(harmonyos)

  • download:下载安装(android)

  • install-failed:安装失败(android)

  • new-and-retention:新增和留存(android)

  • iap:应用内付费(android)

  • paid-download:付费下载(android)

  • paid-download-detail:付费下载明细(android)

  • game-reservation:预约(android)

  • activity-award:指定用户群发奖(android)

  • coupon:优惠券活动(android)

  • atomic-distribute:元服务分发分析(旧版)(android)

  • atomic-user:元服务新增留存(旧版)(android)

  • atomic-widget:元服务卡片分析(旧版)(android)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteNo站点:cn 中国 / de 德国 / sg 新加坡 / ru 俄罗斯。默认使用 AGC_SITE 配置
appIdYes
reportYes
endDateYes结束日期 YYYY-MM-DD 或 YYYYMMDD(UTC)
filtersNo过滤器,键为 filterCondition、值为 filterConditionValue,如 {"countryId":"CN","appVersion":"1.0.0"}
groupByNo分组:date(默认)/ countryId / appVersion / businessType / province / city / deviceName 等,视报表而定
languageNozh-CN
startDateYes开始日期 YYYY-MM-DD 或 YYYYMMDD(UTC)
downloadToNo下载保存路径(文件或目录);传 "tmp" 保存到系统临时目录。不传则只返回下载地址
exportTypeNoCSV
extraQueryNo其他报表特有的 Query 参数(如 timeType),参见 agc_get_api_doc
previewLinesNo下载 CSV 后预览的行数,默认 30

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description adds crucial behavioral details: download URL validity (~5 minutes), optional local download with preview, and the 180-day time span limit. These are not in the annotations and materially help the agent decide how to handle results. No contradiction with annotations.

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?

The description is well-structured: it front-loads the core purpose and behavior, then uses a bullet list for the report types. Every sentence carries necessary information; the length is justified by the need to enumerate 16 report types. No redundancy.

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?

Given the complexity (12 parameters, nested objects, no output schema), the description covers the main flow (export, download, preview) and key constraints (time span). It does not detail the response format or explain all optional parameters, but the schema already documents many, and the description provides enough for an agent to successfully invoke the tool. Slightly incomplete for edge cases like extraQuery.

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?

The description significantly enriches the 'report' parameter by mapping each enum value to its meaning (e.g., harmony-download = HarmonyOS 应用下载安装). It also clarifies downloadTo's purpose. However, it does not explain filters, groupBy, extraQuery, or site beyond the schema's partial descriptions (67% coverage). It adds value but does not fully compensate for all undocumented parameters.

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 clearly states the tool exports operational reports in CSV/Excel, returns a download URL, and optionally downloads and previews. It lists all report types with meanings, making it unambiguous. It is distinct from sibling tools like agc_request or agc_get_api_doc because it is specifically for report export.

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?

The description provides clear context on when to use it (when exporting reports) and gives a practical tip (pass downloadTo if content is needed). It does not explicitly mention alternatives or when not to use it, but the sibling tools are clearly different, so the guidance is adequate though not exhaustive.

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