Skip to main content
Glama

admin_create_api_key

Creates a Cisco Secure Access API key with customizable scopes, expiry, and network restrictions. Secret returned once; requires Key Admin credentials.

Instructions

Create a Secure Access API key. The secret value is returned ONCE; store it immediately. Requires Key Admin credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesHuman-readable name.
scopesYesList of OAuth 2.0 scope strings, e.g. 'admin:read', 'deployments:write'. See the Cisco OAuth 2.0 Scopes documentation for the canonical list.
scope_modeNoScope mode for the key. Cisco accepts read-only or read-write.read-only
descriptionNo
expiry_dateNoISO-8601 date or datetime when the key should expire. Omit for 'never expires'.
network_restrictionsNoUp to 10 IPv4/IPv6 addresses or CIDR blocks. The key will only authenticate requests from these networks.
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the one-time secret return and credential requirement, but omits other behavioral traits such as rate limits, idempotency, error scenarios, or whether the secret is returned in the response body or header.

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 extremely concise with three short sentences. It leads with the purpose, then immediately states the critical security warning, and ends with the authentication requirement. No extraneous information.

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?

Given the tool has 6 parameters (2 required) and no output schema, the description is incomplete. It does not explain what the return value contains beyond the secret (e.g., key ID, creation time), nor does it mention any constraints like uniqueness of name or scope validation.

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 high (83%), with 5 of 6 parameters documented in the schema. The description does not add any additional meaning beyond the schema, so a baseline score of 3 is appropriate.

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?

The description clearly states 'Create a Secure Access API key,' which is a specific verb and resource. It also provides critical context about the one-time return of the secret. The tool is well-differentiated from siblings like admin_delete_api_key, admin_get_api_key, and admin_refresh_api_key.

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 description mentions 'Requires Key Admin credentials' and the one-time secret return, which provides some usage guidance. However, it does not specify when to use this tool versus alternatives (e.g., admin_refresh_api_key for key rotation), nor does it give explicit when-not-to-use advice.

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

Install Server

Other Tools

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/sdntechforum/Secure_Access'

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