Skip to main content
Glama

Decide on an Opportunity

commit_opportunity
Destructive

Decide on one suggestion: commit it, dismiss it, or snooze it.

Committing turns a suggestion into tracked work AND freezes how it will be measured, which is what makes a before/after result possible when the window closes. Dismissing takes a reason so the pool learns. Snoozing hides it for a while and brings it back.

This tool cannot grant an agent permission to do anything. Autonomy is set per brand in the product, never over the API.

Args: brand_id: The brand that owns the suggestion (required). opportunity_id: The suggestion id from list_opportunity_pool. action: commit (default) | dismiss | snooze. reason: Why it was dismissed. Recommended when action='dismiss'. snooze_days: How long to hide it. Default 7.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionNocommit
reasonNo
brand_idYes
snooze_daysNo
user_intentNoAnalytics hint: the user's latest request in one short sentence. Omit secrets and prior chat.
opportunity_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, it discloses real behavioral traits: committing 'freezes how it will be measured' (enabling before/after), dismissing records a reason 'so the pool learns,' and snoozing is temporary. It also states a crucial permission boundary — the tool 'cannot grant an agent permission to do anything; autonomy is set per brand in the product, never over the API' — which the destructiveHint=true annotation merely implies. The description is consistent with the annotations.

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?

The purpose and the three modes are front-loaded, followed by rationale and an explicit Args list mapping each parameter to its meaning. It is somewhat verbose relative to a 3-way enum decision, but each sentence adds behavioral or parameter value rather than padding.

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 6-parameter mutation tool with no output schema and low schema coverage, the description is largely sufficient: it covers the decision semantics, the consequence of each action, permissions, and five of six parameters. Return value format is not explained, but with no output schema that is less critical.

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 description coverage is only 17%, so the description must carry the load, and it does for most parameters: it defines the action enum semantics, notes commit is the default, marks reason as recommended when action='dismiss', and gives snooze_days a default of 7. It omits user_intent, though the schema itself documents that field, so the gap is minor.

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?

The description states a specific verb and resource: 'Decide on one suggestion: commit it, dismiss it, or snooze it,' and immediately enumerates the three decision modes. It also names list_opportunity_pool as the origin of the opportunity_id, letting an agent distinguish this tool from retrieval siblings like get_opportunities and list_opportunity_pool.

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?

It clearly explains when to use each action branch (committing creates tracked work, dismissing takes a reason, snoozing hides and returns) and cites list_opportunity_pool as the prerequisite source. It does not explicitly contrast itself with nearby mutating siblings like manage_action or manage_reddit_opportunity, so there is a small gap.

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