Skip to main content
Glama
This connector has been deprecated

This connector has been replaced by https://glama.ai/mcp/connectors/io.favcrm/favcrm/admin

update_promotion

Idempotent

Update an existing promotion. Pass only the fields you want to change.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeNoPromotion code
nameNoName
typeNoType
valueNoDiscount value (numeric or decimal string)
endsAtNoEnd timestamp (ISO 8601)
statusNoStatus filter
startsAtNoStart timestamp (ISO 8601)
promotionIdYesPromotion ID
usageLimitTotalNoTotal usage limit across all customers
usageLimitPerCustomerNoUsage limit per customer

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataYesTool result payload — shape varies per tool, see the tool description
summaryYesOne-line human-readable summary of the action
renderTypeYesUI rendering hint for the result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already mark the tool as idempotent and non-destructive. The description adds valuable behavioral detail that only supplied fields are changed, implying unspecified fields are preserved. It does not mention side effects or validation, but it does not contradict annotations.

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?

Two short sentences, front-loaded with the tool's purpose, and every word earns its place. There is no redundancy or unrelated detail.

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?

With a 10-parameter schema fully documented, an output schema present, and annotations covering idempotency and safety, the description is complete enough for correct invocation. The essential PATCH semantics are explicitly stated, and nothing critical is missing.

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?

The schema provides 100% coverage of parameter descriptions, so the description only needs to add semantics beyond that. The phrase 'Pass only the fields you want to change' clarifies that all fields except promotionId are optional and that omitted fields retain their current values, which is valuable PATCH-style guidance.

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 uses the specific verb 'Update' with the resource 'promotion' and clarifies 'existing promotion', distinguishing it from create_promotion, delete_promotion, and get_promotion. The instruction 'Pass only the fields you want to change' clearly identifies partial-update semantics.

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?

States this is for modifying an existing promotion, which implies it is not for creating, deleting, or validating promotions. It lacks explicit exclusions or alternatives, but the phrase 'existing promotion' plus the partial-update instruction provides clear usage context.

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