Skip to main content
Glama

Adopt milestone plan

adopt_milestone_plan

On award: carry a tender's payment-milestone plan into the project and make it binding (plan_status genehmigt). Relative months are converted to calendar dates as soon as the project start is known — month 1 is the start month, due at month end. COPIES rather than moves: the plan stays on the tender and is archived with it, because it is the best template for the next bid of the same shape, and on a LOST bid nothing would otherwise remain. Calling it twice is safe — already-adopted milestones are recognised by their origin and skipped.

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": {
      "tender_id": "<tender_id>"
    },
    "name": "adopt_milestone_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoThe project code, when you do not have its id.
tender_idYes
project_idNo
project_startNoYYYY-MM-DD. Defaults to the project's start_date. Without either, the milestones are adopted WITHOUT dates and that is reported — an invented start would look like a commitment.
vergleichssummeNoThe contract sum to check the milestone total against.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior2/5

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

The description is otherwise rich: it states that the plan is copied and archived rather than moved, that months convert to calendar dates at project start, and that undated adoption is reported instead of inventing a start. However, "Calling it twice is safe — already-adopted milestones are recognised by their origin and skipped" asserts repeat-call idempotency while the annotations declare idempotentHint=false, sending conflicting signals about retry safety.

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?

The description is front-loaded with the trigger and action, then layers conversion rules and copy semantics in a logical order. The explanation of why the plan stays on the tender is slightly discursive but earns its place by justifying an otherwise surprising behavior.

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 a mutating, non-output-schema tool this covers the important behavioral surface, including the undated fallback and the duplicate-skip rule. It omits what the call returns and how the vergleichssumme discrepancy surfaces, and the retry claim conflicts with the annotations, so an agent could still misjudge the outcome of a second call.

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?

With 60% schema coverage, the description adds real meaning for project_start — month 1 is the start month, due at month end — and explains the no-date fallback. But vergleichssumme and code are not discussed at all, and it never says what happens when the milestone total fails the contract-sum check, leaving those semantics to the schema alone.

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 gives a concrete verb and resource — carry a tender's payment-milestone plan into the project and make it binding (plan_status genehmigt). It also distinguishes the operation semantically from a move or an in-place edit. It stops short of naming a sibling such as upsert_project_milestone, so the agent must infer the boundary itself.

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

Usage Guidelines4/5

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

"On award" gives a clear triggering context, and the copying rationale explains why this is preferred over moving the plan at bid time. There is no explicit when-not guidance or named alternative, so the agent has context but no exclusion rules.

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.

Resources