Skip to main content
Glama
Apidog MCP Server

Apidog MCP Server

by ivanherula

update_test_case

Update an existing test case by merging only the fields you provide, leaving other values unchanged. Fetches current state first to apply partial edits safely.

Instructions

Update an existing test case (merge update — fetches current state first, only provided fields are changed)

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": {
      "testCaseId": "<testCaseId>"
    },
    "name": "update_test_case"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew name
typeNoNew type
stepsNoNew steps
statusNoNew status
tagIdsNoNew tag IDs
priorityNoNew priority
categoryIdNoNew category ID
testCaseIdYesTest case ID to update
descriptionNoNew description
preconditionNoNew precondition
expectedResultNoNew expected result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose a genuinely valuable trait — a fetch-then-merge flow where only supplied fields change — but it omits whether array fields like 'steps' are replaced wholesale or merged per step, what happens if testCaseId doesn't exist, and whether the operation is reversible.

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 sentence with the action front-loaded and the merge behavior in a tight parenthetical. Nothing is redundant, though the parenthetical is dense enough that splitting it would read more clearly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 11-parameter mutation tool with no annotations and no output schema, the definition covers the critical merge contract but leaves the agent guessing about return value and step-array replacement behavior. Adequate as a minimum, but not fully sufficient for confident invocation.

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 100%, so the baseline is 3 and every parameter already has a label. The description adds a little meaning by clarifying that omitted fields are left untouched, but it does not resolve the most ambiguous parameter semantics — whether 'steps' replaces the entire existing step list.

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 and resource ('Update an existing test case') and the resource name itself separates it from the create/delete/get and update_test_data/update_test_scenario_steps siblings. It stops short of explicitly contrasting with those siblings, so it is clear but not fully differentiated.

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?

The parenthetical 'merge update — only provided fields are changed' implies the correct use case: partial modification of an existing case. There is no explicit when-to-use vs. when-not guidance, no mention of using create_test_case for new cases, and no stated prerequisites such as the case existing or required permissions.

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