Skip to main content
Glama

update_integration_workspaces

DestructiveIdempotent

Set per-workspace and global access controls for an integration, managing cost/rate limits, usage resets, and default provider creation.

Instructions

Control per-workspace and global access to an integration, including cost/rate limits, usage resets, and automatic default-provider creation. global_workspace_access_enabled affects current and future workspaces; override_existing_workspace_access determines whether it replaces explicit workspace settings. Per-workspace default-provider fields override top-level values. Review list_integration_workspaces first because access and limits change downstream usage immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYesThe slug of the integration
workspacesYesArray of workspace configurations to update
global_credit_limitNoGlobal cost credit limit applied with global workspace access
default_provider_slugNoDefault slug for providers auto-created in workspaces
global_rate_limit_rpmNoGlobal requests-per-minute limit for workspace access
global_alert_thresholdNoGlobal cost alert threshold applied to workspace access
create_default_providerNoAuto-create providers when granting workspace access
global_workspace_access_enabledNoEnable or disable access for all current and future workspaces
override_existing_workspace_accessNoApply global settings over existing per-workspace access

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
Behavior4/5

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

Annotations already flag destructiveHint, idempotentHint, and openWorldHint. The description adds valuable behavioral context beyond these: global_workspace_access_enabled affects current and future workspaces, override_existing_workspace_access determines replacement behavior, and per-workspace fields override top-level values. It also notes immediate downstream impact.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four sentences, each earning its place: first states purpose and scope, second explains key toggles, third clarifies precedence, fourth gives operational warning. Slightly dense but well structured and front-loaded with the main purpose.

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

Completeness4/5

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

Given the tool's complexity (9 parameters, global vs per-workspace settings), the description covers the critical nuances and includes a caution to review first. An output schema exists, so return values need not be explained. It is complete enough for a knowledgeable agent to invoke correctly.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaningful interactions between parameters (e.g., precedence rules, override semantics) that are not apparent from individual property descriptions. This elevates the score to 4.

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 tool controls per-workspace and global access to an integration, enumerating specific features (cost/rate limits, usage resets, provider creation). This distinguishes it from read-only siblings like list_integration_workspaces and the broader update_integration tool, making the purpose unambiguous.

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

Usage Guidelines4/5

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

The description provides explicit guidance to 'Review list_integration_workspaces first' and warns that access and limits change immediately, giving clear context on when and how to use the tool. It stops short of naming alternative tools for exclusions, but the prerequisite sequence is helpful.

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