Skip to main content
Glama

promotion_status

Read-only

Check if staging profiles pass eval gates and are promotable before promoting to production; read-only, filterable by agent_kind.

Instructions

The staging-vs-prod promotion board (the portal's /admin/env Promote tab) as data: per agent_kind, the staging and prod profile rows (slug, status, served version pin), each one's latest eval vs its suite threshold, and promotable — true when a staging row passes (or has no) eval gate. Read-only; promote with promote_profile.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "promotion_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_kindNoOnly this agent_kind ('' = every kind).

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and the description reinforces it while adding real semantics: the meaning of `promotable` (staging row passes or has no eval gate) and the fact that eval is compared against a suite threshold. It stops short of noting that the underlying portal tab is under /admin, so any permission requirement is left implicit.

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-loads the resource identity and then enumerates the returned fields in one dense but scannable sentence, closing with the read-only/alternative pointer. Some parenthetical jargon ('served version pin', 'suite threshold') is heavy, but nothing is redundant filler.

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 needn't restate the return shape, yet it previews the key fields and defines the one non-obvious derived value (`promotable`). Combined with readOnlyHint and a single fully-documented parameter, an agent has everything needed to call and interpret it.

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 coverage is 100% and the single `agent_kind` parameter is fully documented in the schema, including the '' = every kind default. The description only restates that results are grouped per agent_kind, adding no filtering semantics beyond the schema, so baseline 3 applies.

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 concrete resource (the staging-vs-prod promotion board) and enumerates its contents per agent_kind: staging/prod profile rows with slug, status, version pin, latest eval vs suite threshold, and the `promotable` flag. It also explicitly separates itself from the sibling `promote_profile`, so an agent can pick it without opening the 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?

Gives a clear read-vs-write routing rule: 'Read-only; promote with promote_profile,' which points at the correct alternative for the mutating action. It does not say when to prefer this over other read tools like list_profiles or get_profile, but the context of use (checking promotion readiness) is clear.

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