Skip to main content
Glama

get_upload_url

Generate pre-signed upload URLs and authentication codes for APK, AAB, or asset files to upload content to Huawei AppGallery Connect for app publishing.

Instructions

Get a pre-signed upload URL and authCode for an APK/AAB/asset file. Returns uploadUrl, chunkUploadUrl, authCode.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
app_idNoAppGallery Connect app ID. Optional if HUAWEI_APP_ID is set in the environment.
suffixYesFile extension.
file_nameNoFile name (used to infer suffix if omitted).
release_typeNo1=formal (default), 3=phased.
Behavior3/5

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

Since no annotations exist, the description carries full burden. It discloses the return structure (uploadUrl, chunkUploadUrl, authCode) and mentions 'pre-signed' implying temporary credentials, but lacks critical details like URL expiration, chunk size limits, or that this initiates a multi-step upload transaction.

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 efficient sentences with zero waste. Front-loaded with action verb immediately stating the tool's function. Every token earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Adequate for a 4-parameter tool with complete schema. Describing return values compensates for missing output schema, but lacks workflow context (e.g., that returned values are consumed by a subsequent upload operation) and expiration details expected for pre-signed URLs.

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%, establishing baseline 3. The description mentions 'APK/AAB/asset file' which semantically maps the 'suffix' enum values to app packages, but adds no further syntax guidance or relationships between parameters (e.g., that file_name infers suffix).

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?

Clear specific verb (Get) and resource (pre-signed upload URL and authCode) with scope (APK/AAB/asset file). However, it does not explicitly distinguish from sibling 'upload_app_file' or clarify this is a preparatory step versus direct upload.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No explicit guidance on when to use this tool versus the 'upload_app_file' sibling, nor does it explain the workflow sequence (get URL → upload → submit). The agent must infer usage from the return value names.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/AgiMaulana/HuaweiAppGalleryMcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server