Skip to main content
Glama

Update Milestone

update_milestone
Destructive

Edit one milestone by milestone_id: move its date (or reposition by day-offset), set its note, mark it complete/reopened, and/or change its type (milestone_type) or custom name. Partial — only the fields you pass change. Retyping only relabels (dates/positions unchanged) — use it to correct a mistyped milestone; it cannot change to/from the root type, and a non-repeatable target type is rejected if the deal already has one. The root/effective milestone takes a date (which recalculates the whole schedule) but not a day-offset, and its type is fixed. Enforces deal participation.

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": {
      "milestone_id": "<milestone_id>"
    },
    "name": "update_milestone"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoPin this milestone to a specific date (manual override). For the root/effective milestone this re-seeds and recalculates the whole schedule. Do not combine with days_from_previous.
notesNoSet the milestone note (shared across brokers on the deal). Pass null to clear.
custom_nameNoDisplay name used only for "other" milestones (relabels an existing "other", or names one when setting milestone_type to "other"). Ignored/cleared for non-"other" types. Pass null to clear.
milestone_idYesThe milestone id (from list_milestones_for_deal).
mark_completeNoMark the milestone complete (true) or reopen it (false). Completing a commission event also clears any open contingency on it; the result says so when that happens.
milestone_typeNoRetype this milestone — e.g. fix a milestone mistakenly created as "closing" so it is really an "extension", or promote an "other" milestone to "closing". Only relabels (dates/positions are unchanged). Cannot change to or from the root type (effective_date/lease_execution) — re-run initialize_deal_milestones for that. A non-repeatable target type (e.g. closing, inspection) is rejected if the deal already has one.
contingency_noteNoShort text naming the contingency, e.g. "TI completion" or "franchise approval". Shown as the tooltip on the income report flag. Pass null to clear.
days_from_previousNoReposition by days after the preceding milestone (recalculates this and dependents). Not valid for the root/effective milestone — set its date directly instead. Do not combine with date.
uses_business_daysNoOnly with days_from_previous: whether the offset counts business days. Defaults to the milestone's current setting.
has_open_contingencyNoWhether this commission event's payment is gated on an unresolved condition — landlord work/TI completion, rent commencement, franchise or corporate approval, co-tenancy. Only meaningful on commission_event milestones. Contingent commission still counts toward the income forecast; it is reported separately so an administrator can see how much of a quarter is at risk. Deal-level: every broker on a split sees the same answer.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already declare destructive=true and openWorld=false, but the description adds side effects the annotations cannot express: a date on the root milestone 'recalculates the whole schedule', retyping relabels only, and there is an access gate ('Enforces deal participation'). This is meaningful behavioral context beyond the structured hints.

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 core action in the first sentence, followed by clauses ordered by importance: partial semantics, retype caveats, root constraints, access. Slightly dense and the retype/relabel explanation duplicates what the milestone_type schema field already says, but no sentence is pure filler.

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 10-parameter mutation with no output schema and no annotations explaining side effects, the description covers the risky paths (schedule recalculation, root type immutability, duplicate non-repeatable types). It leaves the commission-related fields (has_open_contingency, contingency_note, uses_business_days) entirely to the schema, which is adequate but not exhaustive.

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 coverage is 100%, so the baseline is 3; the description still adds cross-parameter meaning by stating the date/days_from_previous exclusivity and the root-milestone asymmetry (date allowed, offset not). It never mentions contingency_note, has_open_contingency, or uses_business_days, so three parameters get no extra framing from the prose.

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?

Opens with a specific verb+resource ('Edit one milestone by milestone_id') and then enumerates the exact editable surfaces: date/day-offset reposition, note, complete/reopen, milestone_type, custom name. A reader can distinguish it from add_milestone and from the commission-specific siblings without inspecting the schema.

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?

Explicitly states the partial-update contract ('only the fields you pass change'), when retyping is appropriate ('use it to correct a mistyped milestone'), and the exclusions: cannot change to/from the root type, non-repeatable target types are rejected, day-offset is invalid on the root. It also names the alternative path for the excluded case ('re-run initialize_deal_milestones').

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