Skip to main content
Glama

Promote Perf Baseline

promote-perf-baseline
DestructiveIdempotent

Promote a performance run as the baseline for an environment class (runId + envClass).

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": {
      "runId": "<runId>",
      "envClass": "<envClass>"
    },
    "name": "promote-perf-baseline"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
runIdYes
envClassYes
projectIdNoThe TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.
projectApiKeyNoProject API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / projectApiKey / description
      Previous value: -"QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it."New value: +"Project API key. QA bots: required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Others: only to look up a repo's projectId via get-project-credentials when its creds file has a key but no projectId. Prefer projectId. Never print it."
    • addedInput schema / properties / projectId
      Added value: +{
      +  "description": "The TestChimp project this repo belongs to: projectId from the repo's .testchimp/creds.json. Pass it on every call when working in a repo. Not a secret.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed12 schema fields changed
    • removedInput schema / properties / actorType
      Removed value: -{
      -  "enum": [
      -    "LOCAL_AGENT",
      -    "CLOUD_AGENT",
      -    "local-agent",
      -    "cloud-agent"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / agentModel
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / agentTraceability
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "actorType": {
      -      "enum": [
      -        "LOCAL_AGENT",
      -        "CLOUD_AGENT",
      -        "local-agent",
      -        "cloud-agent"
      -      ],
      -      "type": "string"
      -    },
      -    "agentModel": {
      -      "type": "string"
      -    },
      -    "branchName": {
      -      "type": "string"
      -    },
      -    "cliVersion": {
      -      "type": "string"
      -    },
      -    "gitSha": {
      -      "type": "string"
      -    },
      -    "policyFile": {
      -      "type": "string"
      -    },
      -    "policyVersion": {
      -      "type": "string"
      -    },
      -    "skillVersion": {
      -      "type": "string"
      -    },
      -    "userId": {
      -      "type": "string"
      -    },
      -    "workflowExecutionId": {
      -      "type": "string"
      -    },
      -    "workflowId": {
      -      "type": "string"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedInput schema / properties / branchName
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / cliVersion
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / gitSha
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / policyFile
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / policyVersion
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / skillVersion
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / userId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / workflowExecutionId
      Removed value: -{
      -  "type": "string"
      -}
    • removedInput schema / properties / workflowId
      Removed value: -{
      -  "type": "string"
      -}
  3. Changed2 schema fields changed
    • addedInput schema / properties / botId
      Added value: +{
      +  "description": "QA bots: your botId from your stored TestChimp binding.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / projectApiKey
      Added value: +{
      +  "description": "QA bots: your own project API key from your stored TestChimp binding. Required on every call except get-bot-credentials, get-project-credentials and get-bot-compat. Never print it.",
      +  "maxLength": 256,
      +  "minLength": 8,
      +  "type": "string"
      +}
  4. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, so the description should explain what the destruction entails — presumably replacing an existing baseline — but it says nothing about the prior baseline being overwritten, whether promotion is reversible, or what permissions are required. For a destructive mutation, this is a meaningful gap beyond what the annotations provide.

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 key inputs are placed immediately after the action. It is efficient, though the brevity for a destructive tool borders on under-specification.

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 destructive, multi-tenant write with five parameters and no output schema, yet the description omits the replacement semantics, any precondition on the run, and the return behavior. Given the complexity and the 40% of parameters lacking schema descriptions, the description leaves too much to inference.

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 60%, with botId, projectId, and projectApiKey already documented in the schema. The description's '(runId + envClass)' confirms those two are the operative keys and clarifies that envClass is the dimension the baseline applies to, but it adds no format or constraint detail for either.

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?

States a specific verb ('Promote') and resource ('a performance run as the baseline for an environment class'), which clearly distinguishes it from siblings like list-perf-baselines or compare-perf-to-baseline. It does not explicitly name those siblings, but the action is unambiguous.

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?

There is no when-to-use guidance, no prerequisites (e.g., run must be finished, must have results), and no statement of what happens if a baseline already exists for that envClass. Usage is only inferable from the verb itself.

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.