Skip to main content
Glama

check_working_state

Retrieve an agent's current governance metrics and state without modifying it, to assess health and enable proactive self-correction before failures.

Instructions

Primary workflow name for reading current EISV state; implemented by get_governance_metrics(). EISV fields: E=Energy [0,1] (mixed-provenance capacity estimate); I=Information Integrity [0,1] (mixed-provenance calibration estimate); S=Entropy [0,1] (drift from the agent's own normal); V=Valence [-1,1] (EMA-smoothed E-I imbalance; positive=motion outruns integrity, negative=integrity outruns motion).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
liteNoIf true (default), returns minimal essential metrics only. Set lite=false for full diagnostic data.
include_stateNoInclude nested state dict in response (can be large). Default false to reduce context bloat. Accepts boolean or string ('true'/'false').
continuity_tokenNoOwnership proof from onboard()/identity(), for same-live-process rebinds only. Not a cross-process resume credential.
client_session_idNoIn-session binding id from start_session()/identity(); pass it on same-process calls. Not a cross-process proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It adds genuine context: the tool is implemented by get_governance_metrics(), the read is non-mutating (in schema description), and each EISV field's interpretation is spelled out (e.g., S is 'drift from the agent's own normal,' V is 'EMA-smoothed E-I imbalance'). But it does not disclose session/ownership prerequisites, whether reads trigger recomputation, or error/staleness behavior.

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?

The purpose is front-loaded in the first clause, followed by a compact implementation note and dense but justified field definitions that every call outcome depends on. The only mildly questionable element is 'Primary workflow name,' which is slightly awkward phrasing but not wasteful.

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 EISV field definitions meaningfully compensate for the absent output schema, and parameter semantics are fully covered by the schema. Still missing are the overall response shape, what lite=false concretely adds beyond 'full diagnostic data,' and when continuity_token/client_session_id actually become necessary, which an agent needs for robust 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 description coverage is 100%, and each parameter (lite, include_state, continuity_token, client_session_id) already has rich, behavior-oriented descriptions, including the warning that include_state 'can be large' and that continuity_token is 'not a cross-process resume credential.' The description adds nothing about parameters, 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?

States a specific verb and resource: 'reading current EISV state,' and substantiates it by defining all four EISV fields (E, I, S, V) with ranges and meanings. However, it does not explicitly differentiate from the sibling health_check, which an agent could plausibly confuse with checking working state.

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?

The phrase 'Primary workflow name for reading current EISV state' implies this is the main entry point for reading governance state, and the schema note 'without updating state' adds a mild read-vs-write signal. But no alternatives are named and no when-to-use/when-not-to-use conditions or exclusions are given, leaving routing largely to inference.

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