Skip to main content
Glama

Update agent profile

profiles_update
Destructive

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. Changed2 schema fields changed
    • changedOutput schema / $defs / AgentConfigDefinitionAgents / description
      Previous value: -"Targets for the agent's list_agents, read_agent, and send_agent_message tools in its project. Only top-level agents can reach peers. Subagents can reach their own direct children."New value: +"Additional agents in this project that a top-level agent can list, read, or message. Its own direct subagents are always in scope for those tools when enabled."
    • removedOutput schema / $defs / AgentConfigDefinitionAgents / properties / include_own_subagents
      Removed value: -{
      -  "description": "Allow the caller's own direct children. Defaults to true.",
      -  "type": "boolean"
      -}
  2. Changed2 schema fields changed
    • addedOutput schema / $defs / AgentConfigDefinitionAgents
      Added value: +{
      +  "description": "Targets for the agent's list_agents, read_agent, and send_agent_message tools in its project. Only top-level agents can reach peers. Subagents can reach their own direct children.",
      +  "properties": {
      +    "agent_ids": {
      +      "description": "Grant access to these top-level agents in this project, in addition to profile grants.",
      +      "items": {
      +        "not": {
      +          "enum": [
      +            "agt_aaaaaaaaaaaaaaaaaaaaaaaaaa"
      +          ]
      +        },
      +        "pattern": "^agt_[a-z2-7]{25}[aeimquy4]$",
      +        "type": "string"
      +      },
      +      "maxItems": 100,
      +      "type": "array",
      +      "uniqueItems": true
      +    },
      +    "agent_profile_ids": {
      +      "description": "Grant access to top-level agents launched from these profiles in this project, in addition to agent ID grants.",
      +      "items": {
      +        "not": {
      +          "enum": [
      +            "aprf_aaaaaaaaaaaaaaaaaaaaaaaaaa"
      +          ]
      +        },
      +        "pattern": "^aprf_[a-z2-7]{25}[aeimquy4]$",
      +        "type": "string"
      +      },
      +      "maxItems": 100,
      +      "type": "array",
      +      "uniqueItems": true
      +    },
      +    "all_project_agents": {
      +      "description": "Allow all other top-level agents in the project. Defaults to false.",
      +      "type": "boolean"
      +    },
      +    "include_own_subagents": {
      +      "description": "Allow the caller's own direct children. Defaults to true.",
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
    • addedOutput schema / $defs / CompiledAgentConfig / properties / agents
      Added value: +{
      +  "$ref": "#/$defs/AgentConfigDefinitionAgents"
      +}
  3. Changed5 schema fields changed
    • addedOutput schema / $defs / CompiledAgentConfig / properties / code_mode
      Added value: +{
      +  "$ref": "#/$defs/CompiledCodeMode"
      +}
    • addedOutput schema / $defs / CompiledCodeMode
      Added value: +{
      +  "description": "Present when commands started by run_command can call the agent's tools.",
      +  "properties": {
      +    "default_allowed": {
      +      "description": "Present and false when commands can call only the tools that set code_mode to true.",
      +      "type": "boolean"
      +    },
      +    "enabled": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "enabled"
      +  ],
      +  "type": "object"
      +}
    • addedOutput schema / $defs / CompiledMCPServer / properties / code_mode
      Added value: +{
      +  "description": "The server's code mode setting. Absent follows the agent default.",
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / CompiledMCPTool / properties / code_mode
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / CompiledTool / properties / code_mode
      Added value: +{
      +  "description": "The tool's own code mode setting. Absent follows the agent default.",
      +  "type": "boolean"
      +}
  4. Changed1 schema field changed
    • 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"
      +}
  5. Changed5 schema fields changed
    • 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_...)."
  6. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the annotations, it discloses the blast radius ('Existing agents keep their current config; agents launched from the profile afterward use the new one') and the failure mode (409 on stale expected_current_config_id). This meaningfully softens and explains the destructiveHint=true flag by showing what is not affected.

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 tight sentences, front-loaded with the core action, then the effect scope, then the failure condition. Nothing is redundant or padding.

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?

An output schema exists so return values need no explanation, all five parameters are fully documented in the schema, and the description covers mutation semantics and error behavior. Nothing an agent needs to call this correctly is missing.

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; the description still adds real meaning by explaining that expected_current_config_id is an optimistic-concurrency guard, which the schema only labels as 'Agent config ID (acfg_...)'.

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 and resource: 'Points a profile at a different agent config.' This is unambiguous and clearly separable from siblings like profiles_rename or profiles_delete without opening any schema.

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?

It gives the operative context an agent needs (the update affects the profile, not already-running agents), but it stops short of naming alternatives or stating when a different tool would be preferable. Clear context, no explicit exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.