Skip to main content
Glama

create_config

Create configuration files with cache, retry, and routing settings for API management in Portkey workspaces.

Instructions

Create a new configuration with cache, retry, and routing settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new configuration
workspace_idNoWorkspace ID to create config in
cache_modeNoCache mode: 'simple' or 'semantic'
cache_max_ageNoCache max age in seconds
retry_attemptsNoNumber of retry attempts (1-5)
retry_on_status_codesNoHTTP status codes to retry on (e.g., [429, 500, 502, 503])
strategy_modeNoRouting strategy: 'loadbalance' or 'fallback'
targetsNoArray of target providers with virtual keys
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It states this is a creation tool, implying it's a write operation that likely requires appropriate permissions, but doesn't mention any behavioral traits like whether it's idempotent, what happens on conflicts, if it returns the created configuration, or any rate limits. For a mutation tool with zero annotation coverage, this is a significant gap.

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 that clearly states the tool's purpose without any wasted words. It's appropriately sized and front-loaded with the essential information.

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 8 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what happens after creation (e.g., returns the config ID), what permissions are needed, or how it interacts with other tools. The high parameter count and lack of behavioral context make this description incomplete for effective tool 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?

The description mentions 'cache, retry, and routing settings' which maps to some parameters (cache_mode, cache_max_age, retry_attempts, retry_on_status_codes, strategy_mode, targets). However, with 100% schema description coverage, all parameters are already documented in the schema. The description adds minimal value beyond what's already in the structured data, meeting the baseline for high schema coverage.

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 ('Create a new configuration') and specifies the types of settings involved ('cache, retry, and routing settings'), which provides a good overview of what the tool does. However, it doesn't explicitly differentiate this tool from its sibling 'create_config' tools (like create_api_key, create_collection, etc.) beyond mentioning the configuration type.

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?

The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites (e.g., needing a workspace_id), when not to use it, or how it relates to sibling tools like 'update_config' or 'delete_config'. The agent must infer usage from the tool name and parameters alone.

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