Skip to main content
Glama

Get Promotion

get_promotion
Read-only

Check whether a tested profile can be promoted, or get its existing PR receipt.

Only the best complete profile above both baselines qualifies. Requires a frozen GitHub source and an established repository mapping for the tested controls. Unsupported sources/native mappings explain the gap.

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": {
      "agent_id": "<agent_id>",
      "experiment_id": "<experiment_id>",
      "profile_id": "<profile_id>"
    },
    "name": "get_promotion"
  }
}

Input Schema

NameRequiredDescriptionDefault
agent_idYesStable agent ID from list_agents or create_agent.
profile_idYes
experiment_idYesExperiment ID within this agent; letters, digits, hyphens, underscores.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already establish that this is a non-destructive, closed-world read, so the description's job is to add qualification semantics, which it does well. It discloses the eligibility rule, the two prerequisites, and that failures are explained by unsupported sources or native mappings, which tells the agent how to interpret a negative result. It could go further on what the receipt payload contains.

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?

Four short sentences, each carrying distinct information, with the primary action stated first and the eligibility and prerequisite constraints following logically. The closing sentence ('Unsupported sources/native mappings explain the gap') is compressed to the point of being jargon-heavy, but no sentence is redundant.

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?

With no output schema, the description carries the burden of explaining returns, and it does so at a summary level: a yes/no promotion verdict plus an existing PR receipt, with a stated reason for gaps. Combined with annotations covering the safety profile, this is nearly sufficient, though the exact response shape remains slightly underspecified.

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 67%, with agent_id and experiment_id documented in the schema and profile_id undocumented anywhere. The description mentions 'tested profile' and 'tested controls' but adds no format, sourcing, or constraint detail for any of the three identifiers, so it does not compensate for the profile_id gap. Baseline 3 is appropriate for this coverage level.

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?

The description opens with a concrete verb and resource: 'Check whether a tested profile can be promoted, or get its existing PR receipt.' It clearly distinguishes a read/verification action from an actual mutation. It does not, however, contrast itself with the sibling tools preview_promotion or publish_promotion, so the boundary between checking and performing is left implicit.

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

Usage Guidelines3/5

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

It gives real eligibility conditions ('Only the best complete profile above both baselines qualifies') and prerequisites ('Requires a frozen GitHub source and an established repository mapping'). What it lacks is routing guidance: nothing says when to call this instead of preview_promotion or publish_promotion, so an agent must infer the sequence from the names alone.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.