Skip to main content
Glama
tbranzov

HAOps MCP Server

by tbranzov

haops_get_role_template_history

Audit role template changes over time and recover from bad publishes by retrieving full version history, including diffs between consecutive versions.

Instructions

Returns the full version history of a named role template (GET /api/role-templates/[name]/history). Role templates are system-wide (no scope/projectSlug). Each entry contains version, publication timestamp, author, lifecycle state, and the full baseBody markdown. When diff=true the server computes unified diffs between consecutive versions and includes a diff field per entry.

Use to audit template content over time, recover from a bad publish, or inspect changes before bumping a template with cascade=true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
rawNoIf true, return the raw JSON array verbatim instead of the formatted text table (default: false).
diffNoWhen true, the server computes unified diffs between consecutive versions and includes a `diff` field on each history entry.
nameYesKebab-case role template name.
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that role templates are system-wide (no scope/projectSlug), what each history entry contains, and the effect of diff=true. It does not mention pagination or limits, but for a history tool this is acceptable.

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 well-structured paragraphs. First explains what the tool does, second provides use cases. No fluff, every sentence adds value.

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?

No output schema, but description lists the fields included in each entry. For a read-only query tool, this is sufficient. It might benefit from mentioning any pagination or limits, but not critical.

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?

Input schema has 100% description coverage. The description adds meaningful context: diff controls unified diffs between consecutive versions, raw controls raw JSON vs formatted table. Name is just 'kebab-case role template name', which is adequate.

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?

The description clearly states it returns the full version history of a named role template, with specific fields like version, timestamp, author, lifecycle state, and baseBody markdown. It distinguishes itself from siblings like haops_read_role_template and haops_list_role_templates by focusing on history.

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 description provides explicit use cases: audit template content, recover from bad publish, inspect changes before bumping with cascade. It also explains when to use diff. However, it doesn't explicitly state when not to use this tool, but the context is clear.

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