Skip to main content
Glama

myPhoner MCP by usefulapi

Mark a lead as winner

myphoner_mark_lead_winner
Destructive

Mark a lead as a winner (a won deal). The lead moves to that state and an event is logged on it; nothing is sent to the lead. Optionally add a comment and an existing winner category. POST /leads/{id}/winner.

Input Schema

NameRequiredDescriptionDefault
commentNoText added as a comment on the lead's event.
lead_idYesLead id.
categoryNoA category of the list; must match an existing one exactly, including case.
call_back_inNoMinutes until a scheduled call back (max one year).
scheduled_forNoWhen the call back is due: ISO 8601 date-time with a timezone, e.g. 2026-11-02T09:30:00Z. Takes precedence over call_back_in.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing concrete side effects: the lead transitions to the won state, an event is logged on the lead, and 'nothing is sent to the lead' (important reassurance for a destructiveHint=true tool). It does not address reversibility or whether the previous state is recoverable, which is a notable gap for a destructive, non-idempotent operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the action and its effect, followed by the side-effect clarification and the optional inputs. No filler and the endpoint path is tacked on at the end without disrupting flow.

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?

With no output schema, a destructive non-idempotent mutation and a fully-described schema, the description supplies the essential behavioral picture. It falls short only on return value expectations and on acknowledging the two scheduling parameters, which an agent might otherwise miss.

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 all five parameters are already documented, making 3 the baseline. The description adds only that comment and category are optional and that the category must already exist, while omitting mention of call_back_in and scheduled_for entirely.

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 ('Mark a lead as a winner') plus a parenthetical clarifying the business meaning ('a won deal'), so the outcome is unambiguous. Against siblings like mark_lead_loser and mark_lead_call_back, the target state is clearly differentiated by the word 'winner'.

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?

The description implies the usage context (a deal was won) but never says when to prefer this over mark_lead_loser or update_lead, nor does it state preconditions such as 'the lead must be in an open state'. Usage is inferable rather than explicit.

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.