Skip to main content
Glama

save_focus

Persist the week's committed plan generated from the get_focus data bundle. The plan blends THREE streams: 'tackle' (new open findings to act on, link insightId), 'check' (interventions due for their verdict, link interventionId), and 'watch' (a metric/anomaly to keep an eye on, set metric). Each item needs title, rationale (why now, citing data), action, expectedImpact, effort, priority. Item completion is DERIVED — a 'tackle' is done when its finding becomes addressed, a 'check' when its intervention closes — so always link insightId/interventionId when the item maps to one. Carry forward any unfinished items from the previous plan (get_focus returns them with their live state). The plan stays current until the merchant re-plans ('plan my week') — calling save_focus supersedes the previous plan by default.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
itemsYesOrdered focus items, top priority first
_offsetNoPagination offset. If a response includes _pagination.hasMore=true, use _offset to fetch the next page.
contextNoOptional snapshot of inputs used (e.g. {openInsights: 12, lastOutcomesWinRate: 60}). Stored verbatim for auditability.
replacePreviousNoDefault true — supersede the previous plan. Set false to keep history visible.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that the call supersedes the previous plan by default, that item completion is DERIVED rather than set, and that the plan persists until the merchant re-plans. This is exactly the mutation/destructive context an agent needs.

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?

Dense but front-loaded, leading with the core purpose and effect before enumerating the three streams. Some content duplicates the schema's own descriptions (e.g. the tackle/check/watch definitions), which is minor redundancy 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 nested-object mutation tool with no output schema, the description covers the essentials an agent needs: item structure, linking rules, derived completion, and replace semantics. Return-value behavior is not covered, but no output schema exists to compensate for it.

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 coverage is 100%, so baseline is 3, but the description adds real meaning on top: it explains the three item streams (tackle/check/watch), why insightId/interventionId must be linked (derived completion), and the carry-forward semantics behind replacePrevious.

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 precise verb+resource: persist the week's committed plan generated from the get_focus data bundle. This clearly distinguishes it from siblings like save_insights, save_target, and update_focus_item, and names the source tool that feeds it.

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?

Provides strong context on when to call it (after get_focus, carrying forward unfinished items with their live state) and the effect of the default replacePrevious=true vs. false. It stops short of an explicit 'when not to use' or naming update_focus_item as the alternative for editing an existing plan.

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