Skip to main content
Glama

create_api_key

Create a short-lived LastPing API key with a label; the plaintext key appears only once, so store it immediately in a secret manager.

Instructions

Create a new LastPing API key. The plaintext key is returned ONCE and cannot be retrieved again — store it immediately in a secret manager. Set expires_at for a short-lived key.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesLabel for the key, e.g. "github-actions".
expires_atNoOptional RFC 3339 expiry, e.g. "2026-12-31T00:00:00Z". Omit for a key that never expires.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

The description discloses a critical behavioral trait beyond the annotations: the plaintext key is returned only once and cannot be retrieved again, requiring immediate storage. It also suggests the use of expires_at for short-lived keys. This adds real operational awareness.

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?

The description is brief and well-structured: it states the purpose, gives a critical security warning, and provides parameter guidance. Every sentence earns its place with no filler.

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

Completeness5/5

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

For a simple two-parameter creation tool with no output schema, the description covers what matters most: what is created, the one-time return of the plaintext key, the storage imperative, and optional expiry guidance. An agent has enough to invoke it correctly.

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 description coverage is 100%, so the schema already explains both name and expires_at. The description reinforces expires_at as a short-lived-key option but adds little new semantic detail beyond the schema.

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 description clearly states the action and resource: 'Create a new LastPing API key.' This distinguishes it from the sibling list_api_keys and revoke_api_key at a basic level, though it does not explicitly call out those alternatives.

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 usage is implied: use this to create a new API key. It gives helpful security context about storing the key and short-lived keys, but it does not explicitly say when not to use it or point to alternatives like revoke_api_key.

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

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/tp322d/lastping-app'

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