Skip to main content
Glama

Update agent profile

profiles_update
Destructive

Switches a profile to a different agent config so future agents launch with the new config while existing agents keep theirs; requires the expected current config ID.

Instructions

Points a profile at a different agent config. Existing agents keep their current config; agents launched from the profile afterward use the new one. Fails with 409 unless expected_current_config_id matches the profile's current config.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "agentProfileID": "<agentProfileID>",
      "config": "<config>",
      "expected_current_config_id": "<expected_current_config_id>",
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "profiles_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgIDYesOrganization ID (org_...).
configYesAgent config ID (acfg_...).
projectIDYesProject ID (proj_...).
agentProfileIDYesAgent profile ID (aprf_...).
expected_current_config_idYesAgent config ID (acfg_...).

Output Schema

NameRequiredDescriptionDefault
idYes
nameYes
org_idYes
created_atYes
project_idYes
updated_atYes
current_configYes
current_config_idYes
current_generationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.1.10
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$defs": {
      +    "AgentConfig": {
      +      "properties": {
      +        "compiled_definition": {
      +          "$ref": "#/$defs/CompiledAgentConfig"
      +        },
      +        "created_at": {
      +          "$ref": "#/$defs/Timestamp"
      +        },
      +        "effective_definition_hash": {
      +          "type": "string"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/AgentConfigID"
      +        },
      +        "instruction_hash": {
      +          "type": "string"
      +        },
      +        "model": {
      +          "$ref": "#/$defs/AgentConfigModel"
      +        },
      +        "org_id": {
      +          "$ref": "#/$defs/OrganizationID"
      +        },
      +        "project_id": {
      +          "$ref": "#/$defs/ProjectID"
      +        },
      +        "source": {
      +          "description": "Saved source text, exactly as sent.",
      +          "type": "string"
      +        },
      +        "source_format": {
      +          "enum": [
      +            "yaml",
      +            "json"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "org_id",
      +        "project_id",
      +        "effective_definition_hash",
      +        "model",
      +        "created_at",
      +        "compiled_definition"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentConfigID": {
      +      "description": "Agent config ID (acfg_...).",
      +      "pattern": "^acfg_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "AgentConfigModel": {
      +      "properties": {
      +        "api_format": {
      +          "$ref": "#/$defs/ModelAPIFormat"
      +        },
      +        "api_variant": {
      +          "$ref": "#/$defs/ModelProviderAPIVariantResponse"
      +        },
      +        "configured_model_id": {
      +          "$ref": "#/$defs/ConfiguredModelID"
      +        },
      +        "context_window_tokens": {
      +          "description": "Effective context budget for input and output tokens after model, project, and agent settings are applied. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.",
      +          "type": "integer"
      +        },
      +        "current_revision_id": {
      +          "$ref": "#/$defs/ConfiguredModelRevisionID"
      +        },
      +        "default_cache_retention": {
      +          "$ref": "#/$defs/ModelCacheRetention"
      +        },
      +        "default_max_output_tokens": {
      +          "description": "Effective per-request output-token cap sent to the provider.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "default_reasoning_effort": {
      +          "type": "string"
      +        },
      +        "input_modalities": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "max_output_tokens": {
      +          "description": "Effective known output-token ceiling after model and project settings, or null when unknown.",
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "name": {
      +          "$ref": "#/$defs/ResourceName",
      +          "description": "Configured model name selected by this agent config, rendered from the current configured model record."
      +        },
      +        "output_modalities": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "provider_config": {
      +          "$ref": "#/$defs/ResourceName"
      +        },
      +        "provider_model_slug": {
      +          "description": "Exact provider model slug on the configured model's current revision at response time.",
      +          "type": "string"
      +        },
      +        "supported_reasoning_efforts": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "supports_reasoning": {
      +          "type": "boolean"
      +        },
      +        "supports_tools": {
      +          "type": "boolean"
      +        }
      +      },
      +      "required": [
      +        "provider_config",
      +        "name",
      +        "provider_model_slug",
      +        "configured_model_id",
      +        "current_revision_id",
      +        "api_format",
      +        "api_variant",
      +        "context_window_tokens",
      +        "max_output_tokens",
      +        "default_cache_retention",
      +        "supports_tools",
      +        "supports_reasoning",
      +        "default_reasoning_effort",
      +        "supported_reasoning_efforts",
      +        "input_modalities",
      +        "output_modalities"
      +      ],
      +      "type": "object"
      +    },
      +    "AgentProfileID": {
      +      "pattern": "^aprf_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "CompiledAgentConfig": {
      +      "description": "Read-only saved compiled configuration, including default tools and derived subagent overrides.",
      +      "properties": {
      +        "git_credentials": {
      +          "$ref": "#/$defs/CompiledGitCredentials"
      +        },
      +        "instruction": {
      +          "type": "string"
      +        },
      +        "interaction_handlers": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/CompiledIntegrationCapability"
      +          },
      +          "type": "object"
      +        },
      +        "machine_sources": {
      +          "items": {
      +            "$ref": "#/$defs/CompiledMachineSource"
      +          },
      +          "type": "array"
      +        },
      +        "max_depth": {
      +          "type": "integer"
      +        },
      +        "max_subagents": {
      +          "type": "integer"
      +        },
      +        "mcp": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/CompiledMCPServer"
      +          },
      +          "type": "object"
      +        },
      +        "memory_stores": {
      +          "items": {
      +            "$ref": "#/$defs/CompiledMemoryStore"
      +          },
      +          "type": "array"
      +        },
      +        "model": {
      +          "$ref": "#/$defs/CompiledAgentModel"
      +        },
      +        "skills": {
      +          "items": {
      +            "$ref": "#/$defs/CompiledSkill"
      +          },
      +          "type": "array"
      +        },
      +        "subagents": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/CompiledSubagent"
      +          },
      +          "type": "object"
      +        },
      +        "tools": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/CompiledTool"
      +          },
      +          "type": "object"
      +        },
      +        "version": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "instruction",
      +        "model"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledAgentModel": {
      +      "properties": {
      +        "cache_retention": {
      +          "$ref": "#/$defs/ModelCacheRetention"
      +        },
      +        "configured_model_id": {
      +          "$ref": "#/$defs/ConfiguredModelID"
      +        },
      +        "context_window_tokens": {
      +          "type": "integer"
      +        },
      +        "default_max_output_tokens": {
      +          "type": "integer"
      +        },
      +        "reasoning": {
      +          "$ref": "#/$defs/CompiledModelReasoning"
      +        }
      +      },
      +      "required": [
      +        "configured_model_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledGitCredentials": {
      +      "description": "Pinned GitHub integration supplying machine Git credentials, optionally limited to repositories and read-only access.",
      +      "properties": {
      +        "integration": {
      +          "$ref": "#/$defs/IntegrationName"
      +        },
      +        "integration_id": {
      +          "$ref": "#/$defs/IntegrationID"
      +        },
      +        "read_only": {
      +          "type": "boolean"
      +        },
      +        "repository_ids": {
      +          "items": {
      +            "format": "int64",
      +            "type": "integer"
      +          },
      +          "type": "array"
      +        }
      +      },
      +      "required": [
      +        "integration",
      +        "integration_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledIntegrationCapability": {
      +      "properties": {
      +        "integration_id": {
      +          "$ref": "#/$defs/IntegrationID"
      +        }
      +      },
      +      "required": [
      +        "integration_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledMCPAuth": {
      +      "discriminator": {
      +        "mapping": {
      +          "bearer": "#/$defs/CompiledMCPAuthBearer",
      +          "oauth": "#/$defs/CompiledMCPAuthOAuth",
      +          "sigv4": "#/$defs/CompiledMCPAuthSigV4"
      +        },
      +        "propertyName": "type"
      +      },
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/CompiledMCPAuthBearer"
      +        },
      +        {
      +          "$ref": "#/$defs/CompiledMCPAuthOAuth"
      +        },
      +        {
      +          "$ref": "#/$defs/CompiledMCPAuthSigV4"
      +        }
      +      ]
      +    },
      +    "CompiledMCPAuthBearer": {
      +      "properties": {
      +        "secret_id": {
      +          "$ref": "#/$defs/SecretID"
      +        },
      +        "type": {
      +          "enum": [
      +            "bearer"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "secret_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledMCPAuthOAuth": {
      +      "properties": {
      +        "secret_id": {
      +          "$ref": "#/$defs/SecretID"
      +        },
      +        "type": {
      +          "enum": [
      +            "oauth"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "secret_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledMCPAuthSigV4": {
      +      "properties": {
      +        "region": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "secret_id": {
      +          "$ref": "#/$defs/SecretID"
      +        },
      +        "service": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "type": {
      +          "enum": [
      +            "sigv4"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "secret_id",
      +        "service",
      +        "region"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledMCPServer": {
      +      "properties": {
      +        "auth": {
      +          "$ref": "#/$defs/CompiledMCPAuth"
      +        },
      +        "default_enabled": {
      +          "type": "boolean"
      +        },
      +        "deferred": {
      +          "type": "boolean"
      +        },
      +        "permission": {
      +          "$ref": "#/$defs/ToolPermissionSelection"
      +        },
      +        "tools": {
      +          "additionalProperties": {
      +            "$ref": "#/$defs/CompiledMCPTool"
      +          },
      +          "type": "object"
      +        },
      +        "url": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "url",
      +        "default_enabled",
      +        "permission"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledMCPTool": {
      +      "properties": {
      +        "deferred": {
      +          "type": "boolean"
      +        },
      +        "enabled": {
      +          "type": "boolean"
      +        },
      +        "permission": {
      +          "$ref": "#/$defs/ToolPermissionSelection"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "CompiledMachineSource": {
      +      "properties": {
      +        "cwd": {
      +          "type": "string"
      +        },
      +        "delete_after_idle_minutes": {
      +          "type": "integer"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "env_overlay": {
      +          "additionalProperties": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "type": "object"
      +        },
      +        "initial_num_machines": {
      +          "type": "integer"
      +        },
      +        "machine_cpu": {
      +          "type": "integer"
      +        },
      +        "machine_id": {
      +          "$ref": "#/$defs/MachineID"
      +        },
      +        "machine_memory_mb": {
      +          "type": "integer"
      +        },
      +        "machine_pool_id": {
      +          "$ref": "#/$defs/MachinePoolID"
      +        },
      +        "machine_provider_options_overlay": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "max_machines": {
      +          "type": "integer"
      +        },
      +        "secret_env_overlay": {
      +          "additionalProperties": {
      +            "oneOf": [
      +              {
      +                "$ref": "#/$defs/SecretID"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "type": "object"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "CompiledMemoryStore": {
      +      "properties": {
      +        "access": {
      +          "$ref": "#/$defs/MemoryStoreAccess"
      +        },
      +        "id": {
      +          "$ref": "#/$defs/MemoryStoreID"
      +        }
      +      },
      +      "required": [
      +        "id",
      +        "access"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledModelReasoning": {
      +      "properties": {
      +        "effort": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "effort"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledProfileSubagent": {
      +      "properties": {
      +        "archive_after_idle_minutes": {
      +          "type": "integer"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "instruction_append": {
      +          "type": "string"
      +        },
      +        "max_instances": {
      +          "type": "integer"
      +        },
      +        "model": {
      +          "$ref": "#/$defs/CompiledSubagentModel"
      +        },
      +        "profile_id": {
      +          "$ref": "#/$defs/AgentProfileID"
      +        },
      +        "type": {
      +          "enum": [
      +            "profile"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type",
      +        "profile_id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledSelfSubagent": {
      +      "properties": {
      +        "archive_after_idle_minutes": {
      +          "type": "integer"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "instruction_append": {
      +          "type": "string"
      +        },
      +        "max_instances": {
      +          "type": "integer"
      +        },
      +        "model": {
      +          "$ref": "#/$defs/CompiledSubagentModel"
      +        },
      +        "type": {
      +          "enum": [
      +            "self"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "type"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledSkill": {
      +      "properties": {
      +        "id": {
      +          "$ref": "#/$defs/SkillID"
      +        }
      +      },
      +      "required": [
      +        "id"
      +      ],
      +      "type": "object"
      +    },
      +    "CompiledSubagent": {
      +      "discriminator": {
      +        "mapping": {
      +          "profile": "#/$defs/CompiledProfileSubagent",
      +          "self": "#/$defs/CompiledSelfSubagent"
      +        },
      +        "propertyName": "type"
      +      },
      +      "oneOf": [
      +        {
      +          "$ref": "#/$defs/CompiledSelfSubagent"
      +        },
      +        {
      +          "$ref": "#/$defs/CompiledProfileSubagent"
      +        }
      +      ]
      +    },
      +    "CompiledSubagentModel": {
      +      "properties": {
      +        "cache_retention": {
      +          "$ref": "#/$defs/ModelCacheRetention"
      +        },
      +        "configured_model_id": {
      +          "$ref": "#/$defs/ConfiguredModelID"
      +        },
      +        "context_window_tokens": {
      +          "type": "integer"
      +        },
      +        "default_max_output_tokens": {
      +          "type": "integer"
      +        },
      +        "reasoning": {
      +          "$ref": "#/$defs/CompiledModelReasoning"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "CompiledTool": {
      +      "properties": {
      +        "deferred": {
      +          "type": "boolean"
      +        },
      +        "description": {
      +          "type": "string"
      +        },
      +        "enabled": {
      +          "type": "boolean"
      +        },
      +        "input_schema": {
      +          "additionalProperties": true,
      +          "type": "object"
      +        },
      +        "integration_id": {
      +          "$ref": "#/$defs/IntegrationID"
      +        },
      +        "permission": {
      +          "$ref": "#/$defs/ToolPermissionSelection"
      +        },
      +        "type": {
      +          "enum": [
      +            "built_in",
      +            "custom"
      +          ],
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "enabled",
      +        "permission"
      +      ],
      +      "type": "object"
      +    },
      +    "ConfiguredModelID": {
      +      "pattern": "^mdl_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ConfiguredModelRevisionID": {
      +      "pattern": "^mrev_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "IntegrationID": {
      +      "pattern": "^itg_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "IntegrationName": {
      +      "description": "Immutable, project-unique integration name used in config keys and qualified tool names.",
      +      "pattern": "^[a-zA-Z][a-zA-Z0-9-]{0,31}$",
      +      "type": "string"
      +    },
      +    "MachineID": {
      +      "description": "Machine ID (mch_...).",
      +      "pattern": "^mch_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "MachinePoolID": {
      +      "description": "Machine pool ID (mpo_...).",
      +      "pattern": "^mpo_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "MemoryStoreAccess": {
      +      "enum": [
      +        "read",
      +        "read_write"
      +      ],
      +      "type": "string"
      +    },
      +    "MemoryStoreID": {
      +      "pattern": "^mst_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ModelAPIFormat": {
      +      "description": "Wire protocol the model endpoint speaks.",
      +      "enum": [
      +        "openai-responses",
      +        "openai-chat-completions",
      +        "anthropic-messages"
      +      ],
      +      "type": "string"
      +    },
      +    "ModelCacheRetention": {
      +      "description": "Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.",
      +      "enum": [
      +        "none",
      +        "short",
      +        "long"
      +      ],
      +      "type": "string"
      +    },
      +    "ModelProviderAPIVariantResponse": {
      +      "type": "string"
      +    },
      +    "OrganizationID": {
      +      "pattern": "^org_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ProjectID": {
      +      "description": "Project ID (proj_...).",
      +      "pattern": "^proj_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "ResourceName": {
      +      "description": "Human-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.",
      +      "maxLength": 64,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "SecretID": {
      +      "description": "Secret ID (sec_...).",
      +      "pattern": "^sec_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "SkillID": {
      +      "pattern": "^skl_[a-z2-7]{26}$",
      +      "type": "string"
      +    },
      +    "Timestamp": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "ToolPermissionSelection": {
      +      "properties": {
      +        "mode": {
      +          "description": "Permission mode applied by default.",
      +          "type": "string"
      +        },
      +        "parameters": {
      +          "additionalProperties": true,
      +          "description": "Parameters for the default mode.",
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "mode",
      +        "parameters"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "properties": {
      +    "created_at": {
      +      "$ref": "#/$defs/Timestamp"
      +    },
      +    "current_config": {
      +      "$ref": "#/$defs/AgentConfig"
      +    },
      +    "current_config_id": {
      +      "$ref": "#/$defs/AgentConfigID"
      +    },
      +    "current_generation": {
      +      "format": "int32",
      +      "type": "integer"
      +    },
      +    "id": {
      +      "$ref": "#/$defs/AgentProfileID"
      +    },
      +    "name": {
      +      "$ref": "#/$defs/ResourceName"
      +    },
      +    "org_id": {
      +      "$ref": "#/$defs/OrganizationID"
      +    },
      +    "project_id": {
      +      "$ref": "#/$defs/ProjectID"
      +    },
      +    "updated_at": {
      +      "$ref": "#/$defs/Timestamp"
      +    }
      +  },
      +  "required": [
      +    "id",
      +    "org_id",
      +    "project_id",
      +    "name",
      +    "current_config_id",
      +    "current_generation",
      +    "current_config",
      +    "created_at",
      +    "updated_at"
      +  ],
      +  "type": "object"
      +}
  2. Changed5 schema fields changedv0.1.1
    • addedInput schema / properties / agentProfileID / description
      Added value: +"Agent profile ID (aprf_...)."
    • addedInput schema / properties / config / description
      Added value: +"Agent config ID (acfg_...)."
    • addedInput schema / properties / expected_current_config_id / description
      Added value: +"Agent config ID (acfg_...)."
    • addedInput schema / properties / orgID / description
      Added value: +"Organization ID (org_...)."
    • addedInput schema / properties / projectID / description
      Added value: +"Project ID (proj_...)."
  3. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the write/destructive profile, but the description adds two things they cannot: the change is non-retroactive (running agents keep their config) and the call fails with 409 on a concurrency mismatch. It does not mention permission requirements, but the key behavioral risk of an optimistic-concurrency update is well covered.

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 short sentences, each carrying distinct information: what changes, what does not change retroactively, and the failure condition. Front-loaded with the core action and zero filler.

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?

With an output schema present and full parameter documentation in the schema, the description only needs to supply semantics and side effects, which it largely does. The remaining gap is that it never states the concurrency requirement's practical implication (retry with a freshly read config ID).

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, and the description earns above that by explaining the role of expected_current_config_id as a match-required guard rather than just another acfg_ ID. It does not clarify whether the other four IDs must belong to the same org/project.

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?

"Points a profile at a different agent config" names a specific verb and resource, so an agent can tell this apart from profiles_rename or profiles_delete. It stops short of explicitly naming the sibling to use for name/metadata changes, so its differentiation is implicit.

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

Usage Guidelines3/5

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

The description explains the effect on existing vs. future agents and the 409 failure condition, which implies when the call is safe and when it will be rejected. It gives no explicit when-to-use direction against alternatives such as profiles_rename or agents_update, so the agent must infer the routing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.