Skip to main content
Glama
testrail-mcp
by tmurraypt

add_milestone

Create a new milestone in a TestRail project to track deadlines and organize related work, optionally with start/due dates and sub-milestones.

Instructions

Create a new milestone

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": {
      "project_id": "<project_id>",
      "name": "<name>"
    },
    "name": "add_milestone"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYesMilestone name
due_onNoDue date as Unix timestamp
start_onNoStart date as Unix timestamp
parent_idNoParent milestone ID for sub-milestones
project_idYesProject ID
descriptionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/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, and it discloses almost nothing: it does not say what permissions are required, whether creation is reversible, or what happens when due_on/start_on conflict. Only the word "Create" implies a write operation, which the agent could infer from the name alone.

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; nothing is wasted. Brevity here comes at the cost of content rather than from trimming redundancy.

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?

For a six-parameter mutation tool with no annotations and no output schema, one sentence is well short of what an agent needs to call it correctly and understand the consequences. At minimum it should mention project scoping, required fields, and any side effects or preconditions.

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 83%, so the schema already explains most fields including the Unix-timestamp formats and the parent_id sub-milestone semantics. The description adds no additional meaning beyond that, which is the baseline expectation at 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?

States a specific verb and resource ("Create a new milestone"), which cleanly separates it from update_milestone, delete_milestone and get_milestone by verb alone. It stops short of stating scope (e.g. within a project) so it is clear but thin.

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 guidance on when to use this versus update_milestone or add_project, no mention of prerequisites such as the project needing to exist, and no note about sub-milestone creation via parent_id despite that capability existing in the schema.

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