Skip to main content
Glama

List Milestones for Deal

list_milestones_for_deal
Read-only

List all milestones for a specific deal, each with the broker's commission amount where set. deal_type must be "location" or "prospect". 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": {
      "deal_type": "<deal_type>",
      "deal_id": "<deal_id>"
    },
    "name": "list_milestones_for_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesThe prospectlocationid or propertytoprospectid
deal_typeYes"location" = tenant-rep deal, "prospect" = landlord-rep deal

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this a non-destructive, closed-world read, so the safety profile is covered. Beyond that, the description adds two pieces of real behavioral context: a participation/authorization requirement ('Enforces deal participation') and the fact that some milestones may lack a commission amount ('where set'). It says nothing about ordering or pagination, which keeps it short of a 5.

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?

Three short sentences with the resource and return content front-loaded, followed by the constraint and the authorization note. The deal_type enum restatement is slightly redundant with the schema but costs little space.

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 two-parameter read tool with full schema coverage and no output schema, the description covers purpose, the shape of the returned data, and an important access precondition. Only return ordering and pagination behavior are absent, which are minor for this complexity level.

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 both parameters are already fully documented, including the enum meanings. The description's restatement of the allowed deal_type values duplicates the schema rather than adding format or constraint detail, so the baseline 3 applies.

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 uses a specific verb and resource ('List all milestones for a specific deal') and states what each item carries ('the broker's commission amount where set'), which tells an agent exactly what comes back. It does not distinguish itself from siblings like list_upcoming_milestones or initialize_deal_milestones, so the reader must infer the difference from the name alone.

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?

Usage is implied only: it lists milestones for a single identified deal, and 'Enforces deal participation' signals a prerequisite on the caller. There is no explicit statement of when to choose this over list_upcoming_milestones or when it would be the wrong call.

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