Skip to main content
Glama

Registrar motivo de encerramento

set_prospect_closure_reason
DestructiveIdempotent

Record why a conversation with ONE person ended (interested, not_interested, bad_timing, has_solution, wrong_person, opt_out), or null to clear it. Kept as history; it does not send 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": {
      "prospectId": "<prospectId>",
      "reason": "<reason>"
    },
    "name": "set_prospect_closure_reason"
  }
}

Input Schema

NameRequiredDescriptionDefault
reasonYes
prospectIdYesExact prospect UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / prospectId / description
      Previous value: -"Exact prospect UUID from list_prospects."New value: +"Exact prospect UUID."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false; the description adds genuinely new context by saying the value is 'kept as history' and that 'it does not send anything,' ruling out messaging side effects. It does not, however, explain that destructiveHint means the prior reason is overwritten, nor whether the write is reversible.

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?

Two compact sentences, front-loaded with the action and followed by the value list and the no-side-effect caveat. The parenthetical enum is long but earns its place since it is the only prose documentation of those values.

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 mutation with no output schema and annotations covering the safety profile, the description supplies what is missing: the value vocabulary, the null-clearing semantics, and the history/no-send behavior. Only the overwrite/reversibility detail and the relationship to sibling prospect tools are absent.

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?

With only 50% schema coverage, the description carries the reason parameter: it lists all six enum values and explains that null clears the stored reason, which the bare anyOf enum in the schema does not convey. prospectId semantics stay with the schema, which already documents the exact UUID.

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 — 'Record why a conversation with ONE person ended' — and enumerates the accepted reason values plus the null-clear behavior. It scopes the write to a single prospect, which distinguishes it from campaign- or list-level siblings, though it never names a sibling like disqualify_prospect to sharpen the boundary.

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 rather than stated: the agent learns the allowed values and that null clears the field, but there is no explicit when-to-use or when-not-to-use guidance and no pointer to the overlapping siblings (disqualify_prospect, update_prospect) that could also record prospect status.

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.