Skip to main content
Glama

Set Deal Data Points

set_deal_data_points
Destructive

Fill in (or clear) a deal's Additional Data Point values — the answer for this deal to each custom field, e.g. Parking Ratio = "5.2/1000". deal_type is "prospect" or "location". Address each field by field_id (from list_deal_data_points) or by name; pass value: null to clear one. Only the fields you pass change. A name that matches no defined field is reported back untouched — the field must exist on the parent property/client first; pass create_missing_fields: true (after the user confirms) to define it on the parent, which adds it to every deal under that parent. Requires deal participation. Cannot delete fields.

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>",
      "values": "<values>"
    },
    "name": "set_deal_data_points"
  }
}

Input Schema

NameRequiredDescriptionDefault
valuesYesThe data point values to set on this deal.
deal_idYesThe propertytoprospectid or prospectlocationid to set values on.
deal_typeYes"prospect" = a deal under a property (landlord rep); "location" = a deal under a client (tenant rep).
create_missing_fieldsNoControls what happens to a name that matches no existing field. Left false (the default), it is reported back untouched; set true to first define the field on the PARENT record, which adds it to every deal under that record — only after the user confirms.

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, yet the description adds the specific consequences: only the fields you pass change, null clears rather than deletes, unmatched names come back untouched, and create_missing_fields propagates a new field to every deal under the parent (a side effect well beyond the destructive flag). 'Cannot delete fields' clarifies the destructive boundary. It stops short of describing permissions/auth or the response shape on partial failure.

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 paragraph with zero filler: the core action, the clearing semantics, the name-resolution failure mode, and the escalation flag arrive in that order. It is dense but every sentence carries information; it could be split with line breaks for scannability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter mutation tool with no output schema, the description covers the mutation semantics, clearing behavior, unmatched-name reporting, the parent-level side effect, the confirmation requirement, and the participation prerequisite. An agent has enough to call it correctly and warn the user about scope.

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, but the description adds real meaning: it ties field_id to list_deal_data_points, explains that a name matching no defined field is returned untouched, and spells out the collateral effect of create_missing_fields on the parent record and all sibling deals. That is behavior beyond the schema's own enum/description text.

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?

States a specific verb and resource ('Fill in (or clear) a deal's Additional Data Point values') plus concrete scope ('the answer for this deal to each custom field') and an example. It also names list_deal_data_points as the source of field_id, so an agent can distinguish it from the sibling listing tool without opening either schema.

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 clear operational context: address fields by field_id or name, pass null to clear, only passed fields change, and create_missing_fields requires prior user confirmation. It names list_deal_data_points as the prerequisite lookup and 'Requires deal participation', but offers no explicit exclusion for when not to use this tool versus the sibling set_data_point_fields.

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