Star a lead
set_lead_favoriteAdd or remove a lead from the user's favorites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| favorite | Yes | ||
| mentionId | Yes | ||
| projectId | Yes |
set_lead_favoriteAdd or remove a lead from the user's favorites.
| Name | Required | Description | Default |
|---|---|---|---|
| siteId | Yes | ||
| favorite | Yes | ||
| mentionId | Yes | ||
| projectId | Yes |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description usefully clarifies that the operation is bidirectional (the boolean both stars and unstars) rather than needing two tools, but says nothing about permissions, idempotency, or what happens to a lead that no longer exists.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
One short sentence, front-loaded with the verb and resource, with no padding or filler. It is efficient, though it is arguably under-specified rather than optimally concise.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
A four-required-parameter mutation tool with no annotations covering semantics beyond safety, no output schema, and zero parameter documentation. The description gives no indication of which identifiers are needed or how the toggle behaves, leaving the agent to guess at invocation details.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% across four required parameters. The description only gestures at 'favorite' (the add/remove semantics) and leaves projectId, siteId and mentionId completely unexplained in both schema and text, so it does not compensate for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb pair ('add or remove') and the resource ('a lead from the user's favorites'), so the agent knows this is a toggle-style mutation on a lead. It does not name or contrast any sibling (e.g. dismiss_lead, restore_lead, set_lead_feedback), but the purpose itself is unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to call this versus alternatives, no note that it is the single tool covering both starring and unstarring, and no prerequisites (does the lead need to exist, can a dismissed lead be favorited?). The agent must infer all routing decisions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.