Skip to main content
Glama

Hustle Got Real

Update Ai Publisher Optimization

hgr_update_ai_publisher_optimization
Destructive

Updates AI Publisher optimization columns. Requires confirmed=true and impactConfirmed=true. Requires HGRApi Header channel / ChannelOAuthId resolved internally.

Input Schema

NameRequiredDescriptionDefault
bodyYesWAPI optimization body: OptimizeTitles, OptimizeDescriptions, OptimizeFields.
confirmedYesMust be true after the user explicitly requested or confirmed the exact action.
channelOAuthIdYesChannelOAuthId returned by hgr_list_channels for the selected visible store.
impactConfirmedYesMust be true after the user explicitly confirmed the concrete high-impact consequences.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this as destructive, non-idempotent, and open-world, so the description need not repeat that profile. The description adds value by documenting the two confirmation gates, but it does not explain what is changed, whether changes are reversible, or what high-impact consequences specifically require confirmation.

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 description is short and front-loads the action and confirmation requirements. The final sentence about HGRApi Header channel / ChannelOAuthId is awkward but does not make the overall description verbose.

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?

Given the 100% schema coverage, output schema, and destructive/open-world annotations, the description is largely complete for correct invocation. It could be stronger by clarifying the specific effect of the update or distinguishing it from sibling optimization tools, but the essential prerequisites are present.

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 coverage is 100%, so the input schema already documents all four parameters, including the confirmation booleans and channelOAuthId. The description merely repeats the two confirmation requirements and adds a somewhat ambiguous note about HGRApi Header channel / ChannelOAuthId being resolved internally, which does not add reliable meaning beyond the schema.

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?

The description states a specific verb and resource: updating AI Publisher optimization columns. It is clear enough for an agent to distinguish from read-only AI Publisher tools, but it does not explicitly differentiate this mutation tool from other optimization-related siblings such as hgr_post_searchproduct_optimize.

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 gives important procedural guidance by requiring confirmed=true and impactConfirmed=true before invocation. However, it does not explicitly say when to choose this tool over related AI Publisher or optimization tools, nor does it name alternatives.

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