Skip to main content
Glama

Create agent profile

profiles_create

Creates a named profile that points at an agent config and returns the profile with its current config. Reusing an idempotency key returns the current profile even if the retry body differs. The retry body is not applied.

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": {
      "config": "<config>",
      "name": "<name>",
      "orgID": "<orgID>",
      "projectID": "<projectID>"
    },
    "name": "profiles_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesHuman-readable name. Spaces and punctuation are allowed; leading or trailing whitespace and invisible or control characters are not.
orgIDYesOrganization ID (org_...).
configYesAgent config ID (acfg_...).
budgetsNoBudgets for the new profile, created atomically with it, one per interval. Requires organization management permission. Replay never adds budgets.
projectIDYesProject ID (proj_...).

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. Changed2 schema fields changed
    • addedInput schema / $defs
      Added value: +{
      +  "BudgetAmount": {
      +    "description": "Amount in USD as a positive decimal string.",
      +    "pattern": "^(0|[1-9][0-9]{0,14})(\\.[0-9]{1,15})?$",
      +    "type": "string"
      +  },
      +  "BudgetAttachment": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "amount_usd": {
      +        "$ref": "#/$defs/BudgetAmount",
      +        "description": "Spend limit in US dollars for each interval."
      +      },
      +      "interval": {
      +        "$ref": "#/$defs/BudgetInterval",
      +        "description": "How often the budget resets."
      +      }
      +    },
      +    "required": [
      +      "interval",
      +      "amount_usd"
      +    ],
      +    "type": "object"
      +  },
      +  "BudgetInterval": {
      +    "description": "How often spend resets, in UTC: day at midnight, week on Monday, month on the 1st. lifetime never resets and counts spend recorded since budgets became available.",
      +    "enum": [
      +      "day",
      +      "week",
      +      "month",
      +      "lifetime"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedInput schema / properties / budgets
      Added value: +{
      +  "description": "Budgets for the new profile, created atomically with it, one per interval. Requires organization management permission. Replay never adds budgets.",
      +  "items": {
      +    "$ref": "#/$defs/BudgetAttachment"
      +  },
      +  "maxItems": 4,
      +  "type": "array"
      +}
  5. Changed2 schema fields changed
    • removedInput schema / properties / name / x-omnara-unicode-normalization
      Removed value: -"NFC"
    • 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"
      +}
  6. Changed3 schema fields changed
    • addedInput schema / properties / config / 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_...)."
  7. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Beyond the annotations, the description discloses genuinely useful retry semantics: a reused idempotency key returns the existing profile and the retry body is discarded rather than applied. This is consistent with idempotentHint=false (each fresh call creates a new profile). The gap is that no idempotency key appears anywhere in the input schema, so the agent cannot tell how to supply the key the description relies on.

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?

Three short sentences, front-loaded with the core action and return value, with no filler. The final two sentences ('even if the retry body differs' / 'The retry body is not applied') restate the same rule and could be merged.

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, the description does not need to enumerate return fields, and it correctly focuses on creation plus retry behavior. It is nearly complete for a create tool; the only real hole is the unlocatable idempotency key, which is neither a parameter nor an annotation.

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?

Schema description coverage is 100%, so every parameter including the nested budget definitions is already documented in structured form. The description adds only a loose mapping ('named profile', 'agent config') and no syntax, format, or constraint detail beyond the schema, which is the correct baseline for a fully covered schema.

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?

The description gives a specific verb and resource ('Creates a named profile that points at an agent config') and even states what is returned, so the operation is unambiguous. It stops short of distinguishing itself from siblings such as profiles_update or profiles_rename, leaving the agent to infer that this is the sole creation path.

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?

Usage is only implied: the agent can infer 'call this to create a profile' and learns that retries with an idempotency key are safe. There is no explicit guidance on when to prefer this over profiles_update or profiles_rename, and no stated prerequisites such as the organization management permission that the schema mentions for budgets.

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.