Skip to main content
Glama

create_provider

Configure AI model provider integrations like OpenAI or Anthropic in Portkey by setting up name, credentials, rate limits, and usage controls.

Instructions

Create a new provider configuration in Portkey. Providers define integrations with AI model providers like OpenAI, Anthropic, etc.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesDisplay name for the provider
integration_idYesIntegration slug for the provider (e.g., 'openai', 'anthropic', 'azure-openai')
workspace_idNoWorkspace ID - required when using organization admin API keys
slugNoCustom slug for the provider. Auto-generated with random suffix if omitted
noteNoOptional note or description for the provider
credit_limitNoCredit limit for usage
alert_thresholdNoAlert threshold percentage (0-100)
rate_limit_valueNoRate limit value
rate_limit_unitNoRate limit unit: 'rpm' (requests per minute) or 'rpd' (requests per day)
expires_atNoExpiration date in ISO 8601 format
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. While it indicates this is a creation operation, it doesn't mention required permissions, whether this action is reversible, what happens on failure, rate limits, or authentication requirements. For a mutation tool with zero annotation coverage, this leaves significant behavioral gaps.

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 perfectly concise - two sentences that efficiently convey the tool's purpose and context. Every word earns its place, with no redundancy or unnecessary elaboration. The structure is front-loaded with the core action.

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?

For a creation tool with 10 parameters, no annotations, and no output schema, the description provides adequate basic purpose but lacks critical context about behavioral aspects, usage guidelines, and output expectations. The high schema coverage helps, but the description doesn't compensate for the missing behavioral transparency needed for a mutation operation.

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?

With 100% schema description coverage, the schema already documents all 10 parameters thoroughly. The description adds no parameter-specific information beyond the general context of what providers are. This meets the baseline of 3 when schema coverage is high, but doesn't provide additional semantic value.

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 the action ('Create a new provider configuration') and the resource ('in Portkey'), with specific context about what providers represent ('integrations with AI model providers like OpenAI, Anthropic, etc.'). It distinguishes from sibling tools like 'create_integration' by focusing specifically on provider configurations rather than general integrations.

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 like 'create_integration' or 'create_config', nor does it mention prerequisites, dependencies, or typical use cases. It simply states what the tool does without contextual usage instructions.

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