Skip to main content
Glama

Set Focus Tool

set_focus
Idempotent

Set what you're working on now so your team sees it on the dashboard; send empty text to clear it when switching tasks. Use it at the start of new work without a full update.

Instructions

Sets what the person is working on right now, shown to the team on the dashboard. Empty text clears it. Use it when the person starts on something new; no full update needed.

Input Schema

NameRequiredDescriptionDefault
repoNoThe git remote of the working directory, to link the focus to its project.
textYesShort, e.g. "Contact form validation". Empty to clear.
projectNoProject slug or name, when there is no repo.
sessionNoThis session's id, from the cemainou line at the start of the session. The session's project wins over the repo.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The only annotation is idempotentHint, so the description carries most of the burden; it discloses team-wide dashboard visibility and that empty text clears the focus, which are meaningful behavioral facts beyond the schema. It does not address permissions or whether an existing focus is silently replaced.

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?

Three short sentences, front-loaded with the action and its visible consequence. The clearing rule is slightly duplicated against the schema, but nothing is padded.

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 small 4-parameter tool with full schema coverage and no output schema, the description covers purpose, trigger, and clearing behavior. The parameter interplay (session wins over repo, project fallback) is left entirely to the schema, which is acceptable but is the remaining gap.

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 description coverage is 100%, including the empty-to-clear semantics and the session-over-repo precedence, so the baseline is 3. The description's 'Empty text clears it' restates the schema rather than adding new parameter meaning.

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+resource ('Sets what the person is working on right now') and adds the visible effect (shown to the team on the dashboard). It implicitly separates itself from heavier logging tools via 'no full update needed', but never names a sibling tool outright.

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?

'Use it when the person starts on something new; no full update needed' gives a clear trigger condition and implicitly excludes the full-update path. It stops short of naming the alternative (e.g. log_update/update_task) or stating when not to use it.

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