Skip to main content
Glama
rsp2k
by rsp2k

registry_get_docker_login_command

Generate a Docker login command for a Vultr registry using registry name or ID. Set access expiry and read-write or read-only permissions for CLI authentication.

Instructions

Generate Docker login command for easy CLI access.

Smart identifier resolution: Use registry name or ID.

Args: registry_identifier: Registry name or ID expiry_seconds: Expiration time in seconds (optional, default: no expiry) read_write: Whether to grant read-write access (default: True, False for read-only)

Returns: Docker login command and credentials information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
read_writeNo
expiry_secondsNo
registry_identifierYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.1

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description carries the burden. It discloses that the output is a login command plus credentials information, and that identifier resolution is flexible; the expiry and read_write parameters convey scoping behavior. It does not state whether credentials generation has side effects (e.g., creating persistent credentials) or requires permissions.

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?

The description is compact, front-loaded with purpose, and organized into short Args/Returns sections. The only minor redundancy is repeating 'registry name or ID' in both the smart-resolution note and the Args list.

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?

For a simple generation tool, it covers the required parameter, optional behavior, and return payload, and an output schema exists. The main gap is the missing relationship to the similar sibling tool and side-effect/persistence behavior, but the core call is fully specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, and the description fully compensates: registry_identifier is defined as name or ID, expiry_seconds is marked optional with a default, and read_write explains its default and meaning. This adds real semantic content beyond raw types.

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?

The opening line states a specific action ('Generate Docker login command') and resource ('Docker login' access to a registry), and the smart identifier resolution note clarifies accepted input. It does not explicitly distinguish itself from the similar sibling registry_generate_docker_credentials, so it falls short of a 5.

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 phrase 'for easy CLI access' gives a clear use case, and the parameter notes describe when to set expiry/read_write. However, it gives no explicit guidance about when to choose this over registry_generate_docker_credentials or other registry tools, and no exclusions.

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

Deploy Server

Other Tools