Skip to main content
Glama

Upsert Issue

upsert-issue

Create or update a TestChimp issue in the current project. Omit issueId and pass title to create. Pass issueId (same flexible formats as get-issue-details) plus patch fields to update — including status (ACTIVE | IGNORED | FIXED | DUPLICATE | IN_PROGRESS_BUG | ARCHIVED_BUG | BLOCKED) and optional ignoreReason. For /testchimp implement TASK_ISSUE creates: set labels=["TestChimp Implement"] (not source), severity from task priority, category (e.g. FUNCTIONAL), and linkTargets for STORY and/or SCENARIO ordinals. For /testchimp fix issue: set IN_PROGRESS_BUG after applying a code fix; set FIXED only after user confirmation. Optional agentTraceability records CREATED / UPDATED Activity inline. Authenticated via project API key.

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": "upsert-issue"
  }
}

Input Schema

NameRequiredDescriptionDefault
botIdNoQA bots: your botId from your stored TestChimp binding.
titleNo
gitShaNo
labelsNo
sourceNo
statusNo
userIdNo
issueIdNo
assigneeNo
categoryNo
severityNo
actorTypeNo
addLabelsNo
issueTypeNo
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.
agentModelNo
branchNameNo
cliVersionNo
policyFileNo
workflowIdNo
descriptionNo
environmentNo
linkTargetsNo
ignoreReasonNo
removeLabelsNo
skillVersionNo
dueDateMillisNo
policyVersionNo
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.
agentTraceabilityNo
reportedReleaseIdNo
workflowExecutionIdNo

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. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already flag readOnlyHint=false, destructiveHint=false, and idempotentHint=false, so the bar is lower. The description still adds real value: authentication via project API key, the status-transition policy, and that agentTraceability records CREATED/UPDATED Activity inline. It leaves out error behavior and what happens to unspecified fields on 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?

Front-loaded with the create/update split, then progressively narrows to workflow-specific rules. Dense but nearly every clause carries actionable information; the only cost is that the /testchimp-specific rules arrive as a long run-on block.

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 32-parameter mutation tool with no output schema, this covers the primary paths, auth, status semantics, and linking well. It is not fully complete — the mode-fields (telemetry, userId/assignee, removeLabels) and add-vs-replace semantics of labels remain unaddressed.

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 only 9% against 32 parameters, so the description must carry the load. It meaningfully explains issueId, title, status, ignoreReason, labels, severity, category, linkTargets, and agentTraceability, but roughly twenty parameters — addLabels vs labels, removeLabels, source, issueType, actorType, assignee, dueDateMillis, and the telemetry fields — get no guidance at all.

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?

States a specific verb+resource — "Create or update a TestChimp issue in the current project" — and immediately disambiguates the two modes (omit issueId to create, pass issueId to update). It also implicitly distinguishes itself from get-issue-details by referencing that tool's id format conventions.

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

Usage Guidelines5/5

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

Explicit branching rules: 'Omit issueId and pass title to create' vs 'Pass issueId plus patch fields to update'. It goes further with situational policy — TASK_ISSUE creates need labels=["TestChimp Implement"] (not source) and linkTargets for STORY/SCENARIO, set IN_PROGRESS_BUG after a code fix, and FIXED only after user confirmation.

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.