Skip to main content
Glama

Upsert Release

upsert-release
DestructiveIdempotent

Create or update a release catalog entry. version is required. Optional gitCommitSha, priorReleaseVersion, releaseType (MAJOR|MINOR|HOTFIX), lifecycleStatus, environment (create only), dueDateMillis and branchId (update only, int64 strings), focusAreas (plans FileScope entries; non-empty replaces; omit on create = full scenario set; omit/empty on update = unchanged). Response is { release, created }.

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": {
      "version": "<version>"
    },
    "name": "upsert-release"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
gitShaNo
versionYes
branchIdNo
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.
focusAreasNo
environmentNo
releaseTypeNo
gitCommitShaNo
dueDateMillisNo
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.
lifecycleStatusNo
priorReleaseVersionNo

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. Changed1 schema field changed
    • addedInput schema / properties / focusAreas
      Added value: +{
      +  "items": {
      +    "properties": {
      +      "artifactType": {
      +        "enum": [
      +          "UNKNOWN_ARTIFACT_TYPE",
      +          "USER_STORY_ARTIFACT",
      +          "SCENARIO_ARTIFACT"
      +        ],
      +        "type": "string"
      +      },
      +      "folderPath": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "ids": {
      +        "items": {
      +          "minLength": 1,
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  3. Added

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds real behavioral context beyond that: focusAreas semantics ('non-empty replaces; omit on create = full scenario set; omit/empty on update = unchanged') discloses exactly what gets overwritten, and the response shape '{ release, created }' is stated. Minor gap: it doesn't say what identifies the target release for an update.

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?

It is a single dense paragraph with zero filler; purpose and the required parameter are front-loaded, followed by optional parameters and then return shape. The heavy parenthetical packing makes it information-rich but harder to scan than a bulleted or sentence-per-concern layout.

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?

For a 13-parameter mutation tool with no output schema, the description covers the parameters that matter, the create-vs-update distinctions, the destructive focusAreas replacement rule, and even the response envelope. What is missing is how the upsert target is determined and any auth framing, though the schema's own descriptions partly cover the credential parameters.

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?

Schema description coverage is only 23%, so the description has to carry the load, and it largely does — it names version as required and assigns meaning to gitCommitSha, priorReleaseVersion, releaseType with its enum values, lifecycleStatus, environment, dueDateMillis, branchId and focusAreas, including the create-only/update-only constraints that the schema itself does not encode. The remaining undocumented params (botId, projectId, projectApiKey) are the ones the schema already describes well. Small slip: the description lists releaseType as MAJOR|MINOR|HOTFIX while the schema enum also includes UNKNOWN_RELEASE_TYPE.

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 specific verb+resource: 'Create or update a release catalog entry.' The dual create/update semantics are stated immediately, which distinguishes it from a read tool like get-release. It stops short of naming a specific sibling alternative, so it lands at a solid 4 rather than 5.

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?

Usage context is implied through per-field lifecycle notes — 'environment (create only)' and 'branchId (update only)' — which tell the agent which mode a call is in. However, there is no explicit statement of when to choose this tool over get-release or the other upsert-* siblings, and no prerequisites (e.g., which identifier makes it an update versus a create) are spelled out.

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.