Skip to main content
Glama

update_integration

DestructiveIdempotent

Update integration settings by slug, modifying only provided fields such as API key, provider config, or pricing multipliers. Immediate changes can disrupt live requests, so review current setup first.

Instructions

Update an integration's name, description, API key, provider config, Secret Reference mappings, or pricing adjustments by slug. Only provided fields change; key, secret mapping, and config changes take effect immediately and can disrupt dependent providers or live requests, while pricing multipliers change cost analytics and budget accounting. Review get_integration first. Model availability and workspace access remain separate in update_integration_models and update_integration_workspaces.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyNoNew API key for the provider
nameNoNew human-readable name for the integration
slugYesThe slug of the integration to update
aws_regionNoNew AWS region (for AWS Bedrock)
api_versionNoNew API version (for Azure OpenAI)
custom_hostNoNew custom base URL for the provider
descriptionNoNew description for the integration
resource_nameNoNew resource name (for Azure OpenAI)
vertex_regionNoNew GCP region (for Vertex AI)
deployment_nameNoNew deployment name (for Azure OpenAI)
secret_mappingsNoReplacement runtime Secret Reference mappings; each target_field must be unique
aws_access_key_idNoNew AWS access key ID (for AWS Bedrock)
vertex_project_idNoNew GCP project ID (for Vertex AI)
pricing_adjustmentsNoReplacement cost multiplier configuration, or null to clear adjustments
aws_secret_access_keyNoNew AWS secret access key (for AWS Bedrock)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool call succeeded and returned structured data
dataNoStructured success payload when ok is true
errorNoStructured error payload when ok is false
Behavior5/5

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

While annotations already flag destructiveHint and readOnlyHint, the description adds vital behavioral context: partial updates are honored, changes to key/secret/config are immediately effective and can disrupt live traffic, pricing adjustments modify cost analytics, and related concerns are deliberately isolated. This materially enriches what the bare annotations convey and aligns with them (no contradiction).

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?

Three sentences deliver purpose, side effects, usage safety, and sibling differentiation without any filler. The most important behavioral caveat (disruption risk) is front-loaded, and every clause contributes information an agent needs before invoking the tool.

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?

Given the tool's 15 parameters, rich schema, and existing output schema, the description covers purpose, mutation semantics, immediate effects, risk profile, and separation from closely related tools. It leaves no major gap: an agent knows what to call, what to expect, and how to avoid unintended consequences. The explicit pointer to get_integration for pre-review further rounds out operational context.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema already covers all 15 parameters with detailed per-field descriptions, so the baseline is a 3 per the rubric. The description adds value by grouping fields into behavioral categories (e.g., 'key, secret mapping, and config' vs. 'pricing adjustments') and clarifying partial update semantics ('Only provided fields change'), which helps the agent understand how parameter combinations behave even though individual properties are schema-documented.

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 opens with a specific verb ('Update') and an explicit resource ('an integration'), then enumerates the exact updatable fields: name, description, API key, provider config, Secret Reference mappings, and pricing adjustments. It further distinguishes this tool from siblings by naming update_integration_models and update_integration_workspaces as separate concerns, making its scope unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description gives concrete guidance: only provided fields change, key/secret/config changes take effect immediately and can disrupt providers or live requests, and pricing multiplier changes affect cost analytics. It also instructs the agent to review get_integration first and explicitly redirects model/workspace access changes to separate tools, providing both usage context and exclusions.

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/CodesWhat/portkey-admin-mcp'

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