Skip to main content
Glama
AgentHistoryMCP
by luo0629

Get Agents & Adapters Status

get_agents_status
Read-onlyIdempotent

Discover installed AI coding agents, inspect adapter health and compatibility (installed, data readable, supported, indexed), and optionally trigger an incremental index refresh.

Instructions

Discover installed AI Coding Agents on this machine, inspect adapter health/compatibility (installed, data_found, readable, supported, indexed), and optionally trigger an incremental index refresh.

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

Input Schema

NameRequiredDescriptionDefault
agentNoOptional single agent_id to inspect (e.g. 'codex', 'cursor', 'windsurf').
refreshNoForce an incremental index sync before reporting status (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so the safety profile is largely covered. The description adds useful context by disclosing that the refresh option forces an incremental index sync before reporting, though it does not explain the cost/duration of that sync, what happens under the refresh path with respect to the read-only hint, or what is returned when a requested agent_id is absent.

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?

A single front-loaded sentence packs the discovery action, the inspected status facets, and the optional refresh into one line with no filler. The parenthetical status list is slightly dense but each item earns its place by explaining what 'health/compatibility' concretely means.

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?

With only two optional parameters, rich schema descriptions, and full annotations, the description is nearly sufficient; listing the returned status fields compensates for the absence of an output schema. The remaining gap is behavioral edge cases (unknown agent_id, refresh cost/failure), which are minor for a status-reading tool.

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%, with 'agent' documented as an optional single agent_id with examples and 'refresh' documented with a default, so the schema already carries parameter meaning. The description reinforces this by tying 'agent' to adapter inspection and 'refresh' to an incremental index sync, but adds no new format, constraint, or failure-mode detail beyond 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?

The description uses a concrete verb and resource ('Discover installed AI Coding Agents on this machine') and enumerates the exact facets inspected ('installed, data_found, readable, supported, indexed'). This makes it trivially distinguishable from the siblings (get_handoff_context, list_sessions, search_history), which operate on sessions/history rather than local agent adapters.

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 implied by 'Discover installed AI Coding Agents' and 'optionally trigger an incremental index refresh', so an agent can infer this is the entry point for checking agent/adapter availability. However, there is no explicit when-to-use vs. when-not framing, no statement about prerequisites (e.g., whether an index must already exist), and no guidance on when setting refresh to true is warranted versus wasteful.

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