Skip to main content
Glama

play_signing_sha1

Download Google Play app signing certificates and return their SHA-1 values. Fix 'Sign in with Google' failures on store builds by registering the correct SHA-1 in Google Cloud Console.

Instructions

Download Play's app signing certificates and return the SHA-1 of each.

Use when "Sign in with Google" works on a local build but fails with the store APK — symptom: the account picker opens, the user picks an account and lands back on the login screen, with no error. With Play App Signing the distributed APK is re-signed by Google, and the SHA-1 that reaches the device is the one from deployment_cert.der.

The SHA-1 shown as text on the "App signing" page is the UPLOAD key's and does not work. This is the value to register as an Android OAuth client (package + SHA-1) in the Google Cloud Console — there is no API for that, UI only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
download_dirYes
package_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the Google re-signing behavior, the source artifact (deployment_cert.der), and that the visible UI value is the wrong key. It does not cover auth requirements or what happens if package_name is invalid, keeping it short of a 5.

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 core action, then the diagnostic scenario, then the caveat. Every sentence adds real value, though the symptom narrative is a bit long relative to the two-parameter operation.

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?

An output schema exists, so return values needn't be spelled out, yet the description still explains the SHA-1 payload. The main gap is the unknown parameter semantics and the file side-effect of writing to download_dir, which matters for an unannotated tool.

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 0%, so the description must compensate. It implies purpose for both parameters (package_name identifies the app, download_dir receives the downloaded certs) but never specifies format, path semantics, or whether download_dir must exist. Adequate but incomplete.

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?

States a specific verb (download), resource (Play's app signing certificates), and output (SHA-1 of each). It is clearly distinguishable from unrelated siblings like store_audit_identity or apple_register_bundle_id, and even clarifies which certificate is involved (deployment_cert.der).

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?

Gives an explicit trigger scenario ('Sign in with Google' works locally but fails with the store APK, account picker loops with no error) and explicitly warns against using the wrong value (the upload key's SHA-1 on the App signing page). It also names where the output is consumed (Android OAuth client in Google Cloud Console).

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