Skip to main content
Glama

focus_view

Read-only

Drives the Focus filter AND the camera of the user's canvas (web interface): greys out the blocks that do not concern the requested people/state, or highlights specific blocks (spotlight — the camera frames them), or clears the filter. cellIds + dim:false = CAMERA ONLY: the view frames these blocks without greying anything out or setting a filter. frame sets the camera FRAMING: 'close' (default with cellIds) tightens on these blocks, 'overview' shows the whole displayed view (alone, greying nothing out; or with cellIds, which are highlighted while the camera shows everything); it cannot be combined with personIds/status/clear. dive: { cellId } dives into the project linked to this host block (the project is read from the block's project link and is not supplied; refused, naming the block, if it carries none) and ascend goes back up one level ('up') or to the root ('root'): these two VIEW actions are only carried out at the END of the chat turn, and not during your calls (diving switches the chat to the conversation of the linked project), and are exclusive with each other and with all the other fields. Modifies NO data — a purely visual effect in the active web session; over MCP (no canvas) the call is validated and returns its directive, but NOTHING is played. Fits when the user asks to "show", "filter", "highlight" or "grey out" elements, or to take them there ("zoom on", "dive into", "go back up").

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": "focus_view"
  }
}

Input Schema

NameRequiredDescriptionDefault
dimNoWith cellIds only. true (default): the other blocks are greyed out. false: CAMERA ONLY — the view frames these blocks, nothing is greyed out and no filter is set. Refused without cellIds
diveNoDive into the project linked to a host block (the one of a create_nested_project / link_project_to_cell). Carried out by the interface at the END of the chat turn; exclusive with all the other fields
clearNotrue to clear any filter in progress
frameNoCamera framing. 'close' (default with cellIds): TIGHT framing on these blocks. 'overview': OVERVIEW of the whole displayed view — alone (nothing is greyed out), or with cellIds (they are highlighted, the camera shows everything). Refused with personIds/status/clear/dive/ascend; 'close' requires cellIds
ascendNoGo back up the view: 'up' = one level, 'root' = all the way to the root project. Carried out by the interface at the END of the chat turn; no effect if the view is already at the root; exclusive with all the other fields
statusNoOnly the blocks carrying an action in this state stay sharp (can be combined with personIds)
cellIdsNoHighlight these specific blocks (spotlight) and frame the camera on them — exclusive with personIds/status
personIdsNoIds of the people to focus on (the blocks that do not mention them are greyed out in the interface)
expectedProjectIdNoUUID of the project THIS call targets (overrides the session project).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."New value: +"UUID of the project THIS call targets (overrides the session project)."
  2. Changed1 schema field changed
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."New value: +"UUID of the project THIS call targets (overrides the session project). No access: refused, nothing changed."
  3. Changed10 schema fields changed
    • changedInput schema / properties / ascend / description
      Previous value: -"Remonter la vue : 'up' = d'un cran, 'root' = jusqu'au projet racine. Joué par l'interface à la FIN du tour en chat ; sans effet si la vue est déjà à la racine ; exclusif avec tous les autres champs"New value: +"Go back up the view: 'up' = one level, 'root' = all the way to the root project. Carried out by the interface at the END of the chat turn; no effect if the view is already at the root; exclusive with all the other fields"
    • changedInput schema / properties / cellIds / description
      Previous value: -"Mettre en surbrillance ces blocs précis (spotlight) et cadrer la caméra dessus — exclusif avec personIds/status"New value: +"Highlight these specific blocks (spotlight) and frame the camera on them — exclusive with personIds/status"
    • changedInput schema / properties / clear / description
      Previous value: -"true pour effacer tout filtre en cours"New value: +"true to clear any filter in progress"
    • changedInput schema / properties / dim / description
      Previous value: -"Avec cellIds seulement. true (défaut) : les autres blocs sont grisés. false : CAMÉRA SEULE — la vue se cadre sur ces blocs, rien n'est grisé et aucun filtre n'est posé. Refusé sans cellIds"New value: +"With cellIds only. true (default): the other blocks are greyed out. false: CAMERA ONLY — the view frames these blocks, nothing is greyed out and no filter is set. Refused without cellIds"
    • changedInput schema / properties / dive / description
      Previous value: -"Plonger dans le projet rattaché à un bloc hôte (celui d'un create_nested_project / link_project_to_cell). Joué par l'interface à la FIN du tour en chat ; exclusif avec tous les autres champs"New value: +"Dive into the project linked to a host block (the one of a create_nested_project / link_project_to_cell). Carried out by the interface at the END of the chat turn; exclusive with all the other fields"
    • changedInput schema / properties / dive / properties / cellId / description
      Previous value: -"Id du bloc HÔTE de ce projet qui porte un rattachement (projectLink) : l'interface plonge dans le projet rattaché à ce bloc. Le projet visé est lu sur le bloc, jamais fourni ici"New value: +"Id of the HOST block of this project that carries a project link (projectLink): the interface dives into the project linked to that block. The target project is read from the block and is not supplied here"
    • changedInput schema / properties / expectedProjectId / description
      Previous value: -"UUID du projet visé par CET appel. Cible RÉELLEMENT ce projet au lieu du projet de session. Refusé sans rien modifier si l'accès n'est pas accordé."New value: +"UUID of the project targeted by THIS call. ACTUALLY targets this project instead of the session project. Refused without changing anything if access is not granted."
    • changedInput schema / properties / frame / description
      Previous value: -"Cadrage de la caméra. 'close' (défaut avec cellIds) : cadrage SERRÉ sur ces blocs. 'overview' : VUE D'ENSEMBLE de toute la scène affichée — seul (rien n'est grisé), ou avec cellIds (ils sont mis en lumière, la caméra montre tout). Refusé avec personIds/status/clear/dive/ascend ; 'close' exige cellIds"New value: +"Camera framing. 'close' (default with cellIds): TIGHT framing on these blocks. 'overview': OVERVIEW of the whole displayed view — alone (nothing is greyed out), or with cellIds (they are highlighted, the camera shows everything). Refused with personIds/status/clear/dive/ascend; 'close' requires cellIds"
    • changedInput schema / properties / personIds / description
      Previous value: -"Ids des personnes à mettre en focus (les blocs qui ne les mentionnent pas seront grisés dans l'interface)"New value: +"Ids of the people to focus on (the blocks that do not mention them are greyed out in the interface)"
    • changedInput schema / properties / status / description
      Previous value: -"Ne garder nets que les blocs portant une action dans cet état (combinable avec personIds)"New value: +"Only the blocks carrying an action in this state stay sharp (can be combined with personIds)"
  4. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the readOnlyHint/destructiveHint annotations: it states that nothing is modified, that the effect is purely visual in the active web session, that over MCP the call is validated and returns its directive but 'NOTHING is played', and that `dive`/`ascend` are deferred to the end of the chat turn. It also discloses refusal conditions (dive refused if the block carries no project link; frame refused with personIds/status/clear).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose is correctly front-loaded and no sentence is pure filler, but the definition is one dense ~230-word paragraph with heavy capitalization and parentheses that must be parsed as a single block. It also restates constraints already present in the schema (frame/close requires cellIds, dim:false as camera-only), which adds length without adding information.

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 nine optional parameters, a nested `dive` object, three enums, and no output schema, the description covers the mode matrix, the deferred view actions, the MCP no-op behavior, and refusal cases — enough to call it correctly. The remaining gap is that it does not say what the MCP return/directive looks like, which matters more because there is no output schema.

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 per-parameter text is already there and the baseline would be 3; the description earns the extra point by consolidating cross-parameter semantics the schema states only piecemeal, notably `cellIds`+`dim:false` meaning camera-only and the joint constraints on `frame` vs `personIds`/`status`/`clear`. It does not spend words on `expectedProjectId`, but that parameter is self-documented in the schema.

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?

Opens with a specific verb and resource: 'Drives the Focus filter AND the camera of the user's canvas', then enumerates its three modes (grey out, spotlight, clear). An agent can tell exactly what the tool does and that it is a view/camera tool rather than a data editor, distinct from the add_*/analyze_* siblings.

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?

Explicitly names trigger phrases ('show', 'filter', 'highlight', 'grey out', 'zoom on', 'dive into', 'go back up'), and gives per-mode selection rules such as `cellIds` + `dim:false` for camera-only and 'overview' alone vs with `cellIds`. It also states exclusions (frame cannot combine with personIds/status/clear; dive/ascend exclusive with all other fields), though it never names an alternative sibling tool for the non-canvas or data-query case.

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.