Skip to main content
Glama

update_template_permissions

Modify a CloudStack template's sharing permissions to add, remove, or reset account access and set public, featured, or extractable flags.

Instructions

Update template sharing permissions

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": {
      "id": "<id>"
    },
    "name": "update_template_permissions"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesTemplate ID
opNoPermission operation (add, remove, reset)
accountsNoComma-separated account names
ispublicNoWhether template is public
isfeaturedNoWhether template is featured
isextractableNoWhether template is extractable

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden, and it discloses almost nothing: it never says what permissions are required to change sharing, what "reset" does to existing grants, whether making a template public or featured is externally visible, or whether the change is reversible. The only signal is that this mutates access-control state, which is already implied by the name.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single short phrase with no filler, so nothing is wasted, but the brevity reflects under-specification rather than disciplined conciseness. There is no front-loaded scoping or constraint information for a six-parameter mutation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter destructive-ish permissions mutation with no annotations and no output schema, the description should disclose permission requirements, the effect of op values, and expected response behavior. Almost none of that is present, leaving the agent to guess.

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 all six parameters (id, op, accounts, ispublic, isfeatured, isextractable) are already documented in the schema, which sets the baseline at 3. The description adds no meaning beyond that, e.g. it does not explain how accounts interacts with op=reset or which flags only apply when ispublic is set.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Update template sharing permissions" restates the tool name almost verbatim, adding only the word "sharing." It does identify a specific verb-plus-resource, but it gives no differentiation from the sibling list_template_permissions or from update_template, which an agent must distinguish when choosing a tool.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of when not to use it or which sibling covers the read side of permissions. The agent must infer usage entirely from the name.

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

Deploy Server

Other Tools