Skip to main content
Glama

approve_variant

Records an owner's approval for a single variant, binding it to the exact canonical hash and exact variant hash for verifiable sign-off.

Instructions

Record the owner's approval of one variant, bound to the exact canonical hash and exact variant hash.

Input Schema

NameRequiredDescriptionDefault
approverYes
variant_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it does add genuine behavioral context — the approval is owner-scoped and pinned to exact hashes, implying it is invalidated by any content change. But it omits whether the operation is idempotent, whether re-approval overwrites a prior approval, what permissions/identity 'owner' requires, and what the result is. The unexplained hash binding, with no corresponding parameters, weakens the disclosure.

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?

A single front-loaded sentence with no filler. The hash clause is the only part that arguably does not earn its place given the schema.

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?

This is a mutation tool with no annotations, no output schema, and fully undocumented parameters, so the description must do the heavy lifting and does not: no prerequisites, no side effects, no confirmation/response behavior, and an unexplained hash-binding model.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description does not define either parameter: 'approver' could be a user ID, email, or role string, and 'variant_id' format is unstated. Worse, the description emphasizes binding to a canonical hash and variant hash that do not exist as parameters, so it adds ambiguity rather than compensating for the coverage gap.

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

Purpose4/5

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

Specific verb+resource combination ('Record the owner's approval of one variant') that is clearly distinct from siblings like approval_check or approval_pack. However, it does not explicitly name those siblings, and the 'bound to the exact canonical hash and exact variant hash' clause introduces concepts absent from the schema, slightly muddying what is actually being recorded.

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?

No guidance on when to call this versus approval_check, approval_pack, policy_check, or variant_revise. Nothing states prerequisites (e.g. must a policy check pass first?) or what to do when approval should be withheld.

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