Skip to main content
Glama

update_virtual_key

Modify virtual key details including name, API key, notes, credit limits, and rate thresholds for secure access management.

Instructions

Update an existing virtual key's name, API key, note, or limits

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe slug of the virtual key to update
nameNoNew display name for the key
keyNoNew provider API key value
noteNoNew note or description
credit_limitNoNew credit limit for usage
alert_thresholdNoNew alert threshold percentage (0-100)
rate_limit_rpmNoNew rate limit in requests per minute
Behavior2/5

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

With no annotations, the description carries full burden but lacks behavioral details. It implies a mutation ('Update') but doesn't disclose permissions required, whether updates are reversible, rate limits, or error handling. This is inadequate for a tool that modifies critical resources like API keys and limits.

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 a single, efficient sentence with zero waste. It front-loads the core action and resource, then enumerates updatable fields without unnecessary elaboration. Every word earns its place.

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

Completeness2/5

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

For a mutation tool with no annotations and no output schema, the description is insufficient. It doesn't cover behavioral aspects (e.g., side effects, auth needs), response format, or error conditions. Given the complexity of updating sensitive items like API keys and limits, more context is needed for safe use.

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 fully documents all 7 parameters. The description adds minimal value by listing updatable fields ('name, API key, note, or limits'), but doesn't explain semantics beyond what's in schema descriptions (e.g., what 'credit_limit' or 'alert_threshold' mean in practice). Baseline 3 is appropriate.

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 ('Update') and resource ('existing virtual key'), specifying what can be updated: 'name, API key, note, or limits'. It distinguishes from sibling tools like 'create_virtual_key' by focusing on updates, though it doesn't explicitly contrast with other update tools like 'update_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 Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing the virtual key's slug), exclusions (e.g., what cannot be updated), or compare to siblings like 'update_api_key' or 'get_virtual_key' for checking current values.

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/s-b-e-n-s-o-n/portkey-admin-mcp'

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