Skip to main content
Glama
tbranzov

HAOps MCP Server

by tbranzov

haops_transition_role_template

Transition a role template through its lifecycle using propose, publish, or deprecate actions. Admin-only, requires ENABLE_COMPOSED_PROTOCOLS=true.

Instructions

Transition a role template through its lifecycle (propose / publish / deprecate). Hits POST /api/role-templates/[name]/[action]. Role templates are system-wide — no scope axis. Server enforces the allowed-from-here state machine and returns 409 with allowed on a disallowed transition. System templates (isSystem=true) cannot be deprecated (server returns 403). Admin-only, requires ENABLE_COMPOSED_PROTOCOLS=true.

WARNING: The parameter is named action (values: propose/publish/deprecate) — NOT status or targetStatus. The underlying model field is called status, but the transition route uses action as the URL segment and the tool param name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesKebab-case name of the role template to transition.
actionYesLifecycle action to perform. Must be one of: "propose" (draft → proposed), "publish" (proposed → published), "deprecate" (published → deprecated). NOTE: this param is named `action`, NOT `status` or `targetStatus`.
verboseNoIf true, return the full API response instead of the compact summary (default: false)
Behavior4/5

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

No annotations provided, so description must carry burden. Discloses endpoint, error responses (409, 403), condition for system templates, and param naming quirk. Could mention idempotency or side effects, but sufficient.

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?

Front-loaded with purpose, then details. Warning about param naming is important but slightly redundant with schema description. Overall efficient.

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?

No output schema, but description covers lifecycle, constraints, errors, permissions, and verbose flag. For a 3-param tool, it is very complete.

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 covers all parameters (100%). Description adds value by warning that param is named 'action' not 'status', and explains allowed values and verbose parameter effect.

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?

Explicitly states the verb 'transition' and resource 'role template' with specific lifecycle actions (propose/publish/deprecate). Distinguishes from sibling tools like haops_transition_skill and haops_transition_skill_pack by naming the resource.

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?

Describes prerequisites: admin-only, requires ENABLE_COMPOSED_PROTOCOLS=true. Mentions server-enforced state machine and error codes. Does not explicitly compare to alternative tools like haops_update_role_template.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbranzov/haops-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server