Skip to main content
Glama

Get a Wiro agent template

get_agent_template
Read-onlyIdempotent

Retrieve an agent template's skills, required credentials, connectors, chat models, and exact plan prices before deploying, so you know what deployment charges and what setup is needed.

Instructions

Read one agent template before deploying it: its skills, the credentials the user must provide (with the field labels to ask for), the connectors it suggests, the optional chat channels, the selectable chat models with their token rates in USD per 1M tokens, and the plans (Starter, Pro and Max) with the exact prices that deploy_agent charges and the AI usage each includes a month. Every plan includes every skill and connector. Required credentials and the connectors can be added after deployment, but work that needs them does not run until then.

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": {
      "template": "<template>"
    },
    "name": "get_agent_template"
  }
}

Input Schema

NameRequiredDescriptionDefault
templateYesTemplate slug or guid from list_agent_templates.
include_tasksNoAlso return the template's scheduled tasks and custom instructions (key, description, schedule, shortened instruction text).

Output Schema

NameRequiredDescriptionDefault
templateYes
nextActionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed19 schema fields changedv2.0.0
    • addedOutput schema / properties / template / properties / customInstructions / items / properties / editable
      Added value: +{
      +  "description": "false: a scheduled task that comes with the agent's template. The agent runs the template's text, which cannot be changed; its schedule and on/off state can.",
      +  "type": "boolean"
      +}
    • removedOutput schema / properties / template / properties / models / properties / selectable / items / properties / cachedInputCreditsPer1M
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / template / properties / models / properties / selectable / items / properties / cachedInputUsdPer1M
      Added value: +{
      +  "description": "What 1M input tokens read from the cache cost, in USD.",
      +  "type": "number"
      +}
    • removedOutput schema / properties / template / properties / models / properties / selectable / items / properties / inputCreditsPer1M
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / template / properties / models / properties / selectable / items / properties / inputUsdPer1M
      Added value: +{
      +  "description": "What 1M input tokens cost, in USD.",
      +  "type": "number"
      +}
    • removedOutput schema / properties / template / properties / models / properties / selectable / items / properties / outputCreditsPer1M
      Removed value: -{
      -  "type": "number"
      -}
    • addedOutput schema / properties / template / properties / models / properties / selectable / items / properties / outputUsdPer1M
      Added value: +{
      +  "description": "What 1M output tokens cost, in USD.",
      +  "type": "number"
      +}
    • removedOutput schema / properties / template / properties / optionalCredentials / items / properties / connectionModes
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / template / properties / optionalCredentials / items / properties / fields / items / properties / onlyInModes
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / template / properties / optionalCredentials / items / properties / oauth
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / template / properties / optionalCredentials / items / required
      Previous value: -[
      -  "key",
      -  "title",
      -  "oauth",
      -  "connectionModes",
      -  "fields"
      -]New value: +[
      +  "key",
      +  "title",
      +  "fields"
      +]
    • changedOutput schema / properties / template / properties / pricing / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "max": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      },
      -      "pro": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      },
      -      "starter": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "max": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "includedUsageUsd": {
      +            "description": "The AI usage the plan includes each month, in USD.",
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "description": "What the plan costs every 30 days.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "includedUsageUsd"
      +        ],
      +        "type": "object"
      +      },
      +      "pro": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "includedUsageUsd": {
      +            "description": "The AI usage the plan includes each month, in USD.",
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "description": "What the plan costs every 30 days.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "includedUsageUsd"
      +        ],
      +        "type": "object"
      +      },
      +      "starter": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "includedUsageUsd": {
      +            "description": "The AI usage the plan includes each month, in USD.",
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "description": "What the plan costs every 30 days.",
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "includedUsageUsd"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / template / properties / pricing / description
      Previous value: -"Each plan's price and monthly credits, the same for every template. null when it cannot be priced right now."New value: +"Each plan's price and the AI usage it includes, the same for every template. null when it cannot be priced right now."
    • removedOutput schema / properties / template / properties / requiredCredentials / items / properties / connectionModes
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / template / properties / requiredCredentials / items / properties / fields / items / properties / onlyInModes
      Removed value: -{
      -  "items": {
      -    "type": "string"
      -  },
      -  "type": "array"
      -}
    • removedOutput schema / properties / template / properties / requiredCredentials / items / properties / oauth
      Removed value: -{
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / template / properties / requiredCredentials / items / required
      Previous value: -[
      -  "key",
      -  "title",
      -  "oauth",
      -  "connectionModes",
      -  "fields"
      -]New value: +[
      +  "key",
      +  "title",
      +  "fields"
      +]
    • addedOutput schema / properties / template / properties / scheduledTasks / items / properties / editable
      Added value: +{
      +  "description": "false: a scheduled task that comes with the agent's template. The agent runs the template's text, which cannot be changed; its schedule and on/off state can.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / template / properties / suggestedConnectors
      Added value: +{
      +  "description": "The connectors the template suggests, by slug. None is connected by the deploy: connect_agent_connector connects each one after it.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  2. Changed3 schema fields changedv1.6.1
    • changedOutput schema / properties / template / properties / pricing / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "pro": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      },
      -      "starter": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "starter",
      -      "pro"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "max": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "monthlyCredits": {
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "monthlyCredits"
      +        ],
      +        "type": "object"
      +      },
      +      "pro": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "monthlyCredits": {
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "monthlyCredits"
      +        ],
      +        "type": "object"
      +      },
      +      "starter": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "monthlyCredits": {
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "monthlyCredits"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / template / properties / pricing / description
      Added value: +"Each plan's price and monthly credits, the same for every template. null when it cannot be priced right now."
    • removedOutput schema / properties / template / properties / tierMultiplier
      Removed value: -{
      -  "type": "number"
      -}
  3. Changed12 schema fields changedv1.5.3
    • addedOutput schema / properties / nextAction / properties / arguments / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • removedOutput schema / properties / template / properties / customInstructions / items / $ref
      Removed value: -"#/properties/template/properties/scheduledTasks/items"
    • addedOutput schema / properties / template / properties / customInstructions / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / template / properties / customInstructions / items / properties
      Added value: +{
      +  "description": {
      +    "type": "string"
      +  },
      +  "enabled": {
      +    "type": "boolean"
      +  },
      +  "instructions": {
      +    "type": "string"
      +  },
      +  "instructionsTruncated": {
      +    "type": "boolean"
      +  },
      +  "interval": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "key": {
      +    "type": "string"
      +  },
      +  "notWritten": {
      +    "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved with manage_agent_custom_skill.",
      +    "type": "boolean"
      +  },
      +  "offSkills": {
      +    "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      +    "items": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": "array"
      +  },
      +  "ownerSkills": {
      +    "description": "The skills that bring this task.",
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "skillOff": {
      +    "description": "The task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      +    "type": "boolean"
      +  },
      +  "source": {
      +    "enum": [
      +      "template",
      +      "skill",
      +      "user"
      +    ],
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / template / properties / customInstructions / items / required
      Added value: +[
      +  "key",
      +  "enabled"
      +]
    • addedOutput schema / properties / template / properties / customInstructions / items / type
      Added value: +"object"
    • removedOutput schema / properties / template / properties / optionalCredentials / items / $ref
      Removed value: -"#/properties/template/properties/requiredCredentials/items"
    • addedOutput schema / properties / template / properties / optionalCredentials / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / template / properties / optionalCredentials / items / properties
      Added value: +{
      +  "connectionModes": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "fields": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "key": {
      +          "type": "string"
      +        },
      +        "label": {
      +          "type": "string"
      +        },
      +        "onlyInModes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "required": {
      +          "type": "boolean"
      +        },
      +        "type": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "key",
      +        "label",
      +        "required"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "key": {
      +    "type": "string"
      +  },
      +  "mode": {
      +    "type": "string"
      +  },
      +  "note": {
      +    "type": "string"
      +  },
      +  "oauth": {
      +    "type": "boolean"
      +  },
      +  "title": {
      +    "type": "string"
      +  }
      +}
    • addedOutput schema / properties / template / properties / optionalCredentials / items / required
      Added value: +[
      +  "key",
      +  "title",
      +  "oauth",
      +  "connectionModes",
      +  "fields"
      +]
    • addedOutput schema / properties / template / properties / optionalCredentials / items / type
      Added value: +"object"
    • changedOutput schema / properties / template / properties / pricing / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "pro": {
      -        "$ref": "#/properties/template/properties/pricing/anyOf/0/properties/starter"
      -      },
      -      "starter": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "monthlyCredits": {
      -            "type": "number"
      -          },
      -          "priceUsd": {
      -            "type": "number"
      -          }
      -        },
      -        "required": [
      -          "priceUsd",
      -          "monthlyCredits"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "starter",
      -      "pro"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "pro": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "monthlyCredits": {
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "monthlyCredits"
      +        ],
      +        "type": "object"
      +      },
      +      "starter": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "monthlyCredits": {
      +            "type": "number"
      +          },
      +          "priceUsd": {
      +            "type": "number"
      +          }
      +        },
      +        "required": [
      +          "priceUsd",
      +          "monthlyCredits"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "starter",
      +      "pro"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
  4. Changed5 schema fields changedv1.5.1
    • addedOutput schema / properties / template / properties / requiredCredentials / items / properties / note
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / template / properties / scheduledTasks / items / properties / notWritten
      Added value: +{
      +  "description": "The starter task whose text was never written. It does not run, even when it shows on, until its text is saved with manage_agent_custom_skill.",
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / template / properties / scheduledTasks / items / properties / offSkills
      Added value: +{
      +  "description": "While skillOff is true, the skills that end the pause, as lists: turn on one skill from each list. The task then runs while the services it needs are connected.",
      +  "items": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / template / properties / scheduledTasks / items / properties / ownerSkills
      Added value: +{
      +  "description": "The skills that bring this task.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / template / properties / scheduledTasks / items / properties / skillOff
      Added value: +{
      +  "description": "The task is paused because the skills it needs are off: it does not run, even when it shows on, until one skill from each list in offSkills is turned on with apply_agent_skills. Its own on/off state, text and schedule stay as they are.",
      +  "type": "boolean"
      +}
  5. Addedv1.4.1

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds real behavior beyond that: required credentials and connectors can be added after deployment, but any work depending on them will not run until then, and it clarifies that plan prices are the exact amounts deploy_agent charges and that every plan includes every skill and connector. Missing only latency/size caveats, which are minor for a read.

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?

The purpose is front-loaded in the first clause and the second sentence carries a genuine caveat rather than filler. The long mid-sentence inventory of return fields is dense and partially duplicates the output schema, but it is scannable and each item is informative for the deploy decision.

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?

With an output schema present the description technically need not restate return contents, yet the summary of what a template exposes and the credential/connector dependency caveat give an agent everything needed to decide to call it and to interpret the result before deploying. Nothing material is left unexplained for a two-parameter read-only tool.

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 both parameters (template slug, include_tasks) are fully documented structurally, which sets the baseline at 3. The description does not touch include_tasks at all, and its mention of field labels for credentials describes the return payload rather than the input parameters, so it adds little parameter-level meaning.

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 a specific verb and resource ("Read one agent template") and then enumerates exactly what the read yields: skills, required credentials with field labels, suggested connectors, chat channels, chat models with token rates, and plan prices. An agent can distinguish this from list_agent_templates (which supplies the slug) and from deploy_agent (referenced as the consumer of the pricing) 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?

The phrase "before deploying it" establishes a clear use context relative to deploy_agent, and the closing sentence explains why a template with unmet credentials/connectors is still worth reading. It stops short of explicitly naming list_agent_templates as the discovery alternative or stating when not to call this, so it is clear context rather than full when/when-not guidance.

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