Skip to main content
Glama

Optimizer state

get_optimizer
Read-onlyIdempotent

Retrieves a project's listing optimizer state: step, live listing, generated options with reach and difficulty, chosen option, core phrases, and per-locale drafts with translation candidates.

Instructions

Listing optimizer state for a project: step, current live listing, generated listing options (with reach/difficulty, covered phrases and validation problems), the chosen option, core phrases and per-locale drafts with translation candidates. Descriptions are cut unless full is true.

Input Schema

NameRequiredDescriptionDefault
fullNoReturn full descriptions (default false).
localeNoOnly show this locale's draft in full; others are listed by status.
projectIdYesProject id (from get_overview).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds a genuinely useful behavioral trait not in the annotations: descriptions are truncated unless full=true. It also explains that only one locale's draft comes back in full while others are status-only, which affects how much data the agent gets. It stops short of stating payload size or whether reading has side effects on job state.

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?

A single front-loaded sentence that opens with the verb and resource, then lists returns. Dense with parentheticals but each item maps to real output; minor trimming possible in the enumeration.

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, the description carries responsibility for conveying the return shape and does so item by item, and annotations cover the safety profile. Missing only secondary details such as payload size or behaviour when no options have been generated yet.

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% and the schema already documents full ('Return full descriptions') and locale ('Only show this locale's draft in full; others are listed by status'). The closing sentence largely restates the `full` flag, adding no syntax or format detail beyond the schema, so the baseline 3 applies.

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 ('Listing optimizer state for a project') and then enumerates exactly what the state comprises: step, live listing, generated options with reach/difficulty, chosen option, core phrases, per-locale drafts. That inventory makes it clearly distinguishable from the mutating optimizer_* siblings and from get_overview.

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?

Usage is only implied: the enumerated contents suggest you call it to inspect state before calling optimizer_choose/optimizer_save_option. There is no explicit when-to-use, no when-not, and no named alternative among the many optimizer_* siblings.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.