Skip to main content
Glama

update_focus_settings

Configure focus time settings to enable or disable focus blocks, set minimum and maximum durations, and control how aggressively they are defended.

Instructions

Update focus time settings. Control whether focus time is enabled, how long focus blocks are, and how aggressively they're defended. Note: this endpoint may return 403 depending on plan tier or API key scope.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "update_focus_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledNoEnable/disable focus time
maxDurationNoMaximum focus block duration in minutes
minDurationNoMinimum focus block duration in minutes
defenseAggressionNoHow aggressively to defend focus blocks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the endpoint can return 403 depending on plan tier or API key scope, which is real operational context. However, it does not state whether the update is partial or a full replace, what happens to fields left unspecified, or whether changes are reversible.

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?

Two compact sentences, front-loaded with the purpose and followed by the operational caveat. Every sentence earns its place; only a small amount of tightening would improve it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has four optional parameters at 100% schema coverage and no output schema, so the bar is moderate. The purpose and the 403 condition are covered, but the semantics of an all-optional mutation (does omitting a field preserve or reset it?) are left unaddressed.

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 every parameter already has a description in the input schema. The description restates the same three concerns (enabled, duration, aggression) without adding syntax, units, or value ranges beyond what the schema provides. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Update focus time settings') and enumerates the three controllable dimensions: enabled state, block duration, and defense aggression. It is clear what the tool does, but it does not distinguish itself from the sibling get_focus_settings by naming it or contrasting read vs write.

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: 'Update' tells the agent this is the mutation counterpart to get_focus_settings, which appears in the sibling list. There is no explicit when-to-use statement, no mention of alternatives, and no guidance on prerequisites beyond the 403 caveat.

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