Skip to main content
Glama

packagecloud MCP by usefulapi

Get GPG key

packagecloud_get_gpg_key
Read-only

One GPG key of a repository by its key name (as returned by list_gpg_keys, for example user-repo-85D7FBF915DFCBC6.pub.gpg). GET /repos/{user}/{repo}/gpg_keys/{keyname}.json.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
key_nameYesThe GPG key name.
repositoryYesThe repository as "user/repo" (the fqname returned by packagecloud_list_repositories).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description reinforces this by exposing the GET endpoint and the key naming convention, but adds no auth, rate-limit, or failure behavior beyond what annotations provide.

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?

Extremely concise and front-loaded, with the resource and look-up key stated first. The trailing REST path is mildly redundant but serves as useful endpoint context, keeping the description tight overall.

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?

With 100% schema coverage and read-only annotations, the definition is adequate for invocation, but there is no output schema and the description does not indicate what a returned GPG key contains, leaving a minor gap for a fetch tool.

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 100%, so the baseline is 3, but the description adds real value beyond the schema: a concrete key_name example ('user-repo-85D7FBF915DFCBC6.pub.gpg') and the source of the repository fqname. This clarifies the expected string format that the schema alone does not.

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+resource: fetches one GPG key of a repository, scoped by key name. The phrase 'One GPG key ... by its key name' clearly distinguishes it from list_gpg_keys without the agent needing to open either schema.

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 parenthetical 'as returned by list_gpg_keys' implies the workflow (list first, then fetch one), but usage is only implied rather than stated with explicit when/when-not conditions. No exclusions or alternative-selection guidance is given.

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.