Skip to main content
Glama

create_ec2_credential

Creates a Keystone EC2 credential for S3 endpoint access and returns the secret once for configuring AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY.

Instructions

Create a Keystone EC2 credential for the S3 endpoint. The secret is returned once.

Service: Keystone (identity). Mutates state. Prefers POST /users/{id}/credentials/OS-EC2, which lets Keystone generate the access key and secret. If that API is disabled, stores an ec2 credential blob generated locally. Put the access key and secret in AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY (or OS_S3_ACCESS_KEY and OS_S3_SECRET_KEY).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_ec2_credential"
  }
}

Input Schema

NameRequiredDescriptionDefault
user_idNo
project_idNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Without annotations the description carries the burden and does well: it declares 'Mutates state', that the secret is returned only once, the preferred API path, and the fallback path when that API is disabled. It omits permission/auth requirements and whether the credential is revocable, which keeps it from 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 what is created and the one-time-secret caveat, then the API preference and fallback, then env var mapping. Sentences are short and purposeful with no filler, though the line breaks fragment it slightly.

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?

Output schema exists so return values needn't be explained, and the mutation/secret-once behavior is covered. But with zero annotation and zero schema coverage, the two parameters are a real gap for an agent deciding what to pass.

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

Parameters2/5

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

Schema coverage is 0% for the two parameters (user_id, project_id) and the description never names or explains them. Only the '/users/{id}/credentials/OS-EC2' path hints at user_id; project_id meaning and defaults are entirely unexplained.

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?

States a specific verb and resource ('Create a Keystone EC2 credential') plus the target ('for the S3 endpoint'), which distinguishes it from the application-credential sibling by credential type. It does not explicitly name an alternative, so it falls short of the top mark.

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?

Implies usage context (S3 endpoint access, env vars to populate) but never says when to choose this over create_application_credential or whether a user/project must already exist. No exclusions or prerequisites are stated.

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