Skip to main content
Glama

Deploy an AI Agent Template

varity_deploy_agent

Deploys public certified Varity templates without required environment variables; private or secret-bearing templates are refused.

Instructions

Backward-compatible alias for varity_deploy_template. Deploys only public certified templates with no required environment variables; private or secret-bearing templates are refused.

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": {
      "agent": "<agent>"
    },
    "name": "varity_deploy_agent"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoMemorable deployment name. Defaults to <template>-derived name if omitted.
agentYesTemplate ID from varity_list_templates.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv2.0.0
    • changedInput schema / properties / agent / description
      Previous value: -"The agent slug. One of: hermes, openclaw, agent-zero, autoresearch, eliza-venice. Run varity_list_agents to see all options."New value: +"Template ID from varity_list_templates."
    • removedInput schema / properties / agent / enum
      Removed value: -[
      -  "hermes",
      -  "openclaw",
      -  "agent-zero",
      -  "autoresearch",
      -  "eliza-venice"
      -]
    • removedInput schema / properties / env
      Removed value: -{
      -  "additionalProperties": {
      -    "type": "string"
      -  },
      -  "description": "Environment variables to pass to the agent container, as a key-value object. Pass everything from the agent's required_env list (call varity_agent_info to see which). Example for hermes: { OPENAI_API_KEY: 'sk-...', TELEGRAM_BOT_TOKEN: '...', TELEGRAM_ALLOWED_USERS: '123,456' }",
      -  "type": "object"
      -}
    • changedInput schema / properties / name / description
      Previous value: -"Memorable name for this deployment. Becomes the URL slug at varity.app/<name>/. Defaults to <agent>-<random> if omitted."New value: +"Memorable deployment name. Defaults to <template>-derived name if omitted."
  2. First observedv2.0.0-beta.24

TDQS

A4.2/5.0
Behavior4/5

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

Annotations declare the safety profile (not read-only, not destructive, not idempotent, open world), and the description adds genuinely non-structured behavior: private or secret-bearing templates are refused, and no environment variables are required. It does not disclose the return value or that repeated calls create new deployments, but the refusal semantics are valuable context beyond annotations.

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?

Two sentences, zero filler, with the identity/alias statement front-loaded before the constraint clause. Every phrase earns its place.

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?

For a two-parameter deployment tool with full schema coverage and existing annotations, the description covers identity, eligibility, and failure modes adequately. The main remaining gap is the absence of any hint about what a successful call returns (deployment identifier or status), which matters for chaining into varity_deploy_status or varity_deploy_logs.

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 coverage is 100%, so both parameters (name, agent) are already documented in the schema, and the baseline is 3. The description mentions environment variables only as a template property, not as a parameter, so it adds no meaning to the two inputs beyond what the schema provides.

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?

Names the specific action and resource ('Deploys... templates') and immediately identifies itself as a backward-compatible alias of varity_deploy_template, which cleanly separates it from the canonical sibling. The eligibility clause ('only public certified templates') further sharpens the scope.

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

Usage Guidelines4/5

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

The alias framing gives clear context that the canonical varity_deploy_template is the preferred entry point, and the refusal conditions tell the agent when this call will fail. It stops short of an explicit 'use X instead when...' routing statement or any mention of related tools such as varity_set_env or varity_redeploy.

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