Skip to main content
Glama

Focus Agent Pane

agent_focus

Switches the Herdr TUI view to a target agent’s pane and marks its completion as seen, letting you inspect and acknowledge finished work.

Instructions

Switch the user's Herdr TUI view to the target agent's pane and mark its completion as seen.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "target": "<target>"
    },
    "name": "agent_focus"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYesUnique live agent name or hosting pane ID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.0.1

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (readOnlyHint=false, idempotentHint=false), the description discloses two real side effects: it moves the user's TUI view and marks the agent's completion as seen, which explains why the call is neither read-only nor idempotent. It omits error behavior when the target is not live and any permission considerations, keeping it from a 5.

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

Conciseness5/5

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

One sentence, no filler, with the primary action stated before the secondary side effect. Everything in it earns its place.

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?

This is a low-complexity, one-parameter tool with no output schema, and the description covers both the view change and the completion-marking side effect. What remains missing is behavior on an unknown or dead target, which would matter for real invocation.

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 single 'target' parameter is already documented as 'Unique live agent name or hosting pane ID.' The description adds no format, validity, or resolution detail beyond that, so the baseline 3 applies.

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?

The description names a specific verb ('Switch') and resource ('the target agent's pane' in the Herdr TUI view), plus a secondary effect ('mark its completion as seen'). 'Agent's pane' implicitly separates it from tab_focus/workspace_focus, but no sibling is named explicitly, so it falls just short of a 5.

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: an agent can infer you call this when you want the user's view moved to a given agent. There is no stated when-not-to-use case and no pointer to alternatives like tab_focus or workspace_focus for non-agent panes.

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