Skip to main content
Glama

Set Deal Status

set_deal_status

Set a deal's status. deal_type is "prospect" (landlord-rep) or "location" (tenant-rep); status_id comes from list_deal_statuses. Enforces deal participation. This changes a record — confirm the deal and target status with the user first. Cannot delete anything.

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>",
      "status_id": "<status_id>"
    },
    "name": "set_deal_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
deal_idYesThe propertytoprospectid or prospectlocationid
deal_typeYes"prospect" = landlord-rep deal (propertytoprospectid), "location" = tenant-rep deal (prospectlocationid)
status_idYesA status_id from list_deal_statuses

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description reinforces this with "Cannot delete anything" and adds a useful confirmation requirement plus a note that deal participation is enforced. That participation/authorization detail is real value beyond the annotations, but the description doesn't say what happens on failure or whether prior status is recoverable.

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, front-loaded with the action and followed by the parameter constraint and the safety instruction. No filler, though the deal_type restatement duplicates the schema slightly.

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 3-required-parameter mutation with no output schema, the description covers the mutation, the id source, the confirmation requirement, and the non-destructive scope. Only failure behavior and post-change state are left unaddressed, which is a minor gap.

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 coverage is 100% and the description's parameter content (deal_type meanings, status_id source) largely restates the schema descriptions. Baseline 3 applies since the schema already carries the semantics; the description adds no format or edge-case detail beyond it.

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 ("Set a deal's status") and immediately clarifies the deal_type domain, so an agent knows this mutates one deal's status field. It doesn't explicitly distinguish itself from sibling setters like set_deal_data_points, but the resource is narrow enough to be unambiguous.

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?

Gives a clear precondition (status_id must come from list_deal_statuses) and a procedural instruction to confirm the deal and target status with the user first. It lacks an explicit when-not clause, but the confirmation guidance effectively frames the usage context.

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