Skip to main content
Glama

sync_state

Check in your agent's current state and work to get supportive feedback and verdicts that flag health, confidence, and behavior risks early, enabling self-correction before failures occur.

Instructions

Primary workflow name for checking in state; implemented by process_agent_update(). 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
liteNoBoolean alias for response_mode='compact'. Applies only when response_mode is left at 'auto' (an explicit response_mode always wins).
logprobsNoPer-token top-k output logprobs, e.g. [[lp, lp, ...], ...]. Grounds S at tier-1 instead of the heuristic; absent for Claude.
task_typeNoTask type. Core types: convergent | divergent | mixed; 'introspection' for self-examination.mixed
complexityNoTask complexity, strictly 0-1. Check-in aliases also accept 'trivial'|'low'|'medium'|'high'|'very_high'.
confidenceNoConfidence level for this update (0-1, optional).
parametersNoAgent parameters vector (optional, deprecated).
task_labelNoS22 H5 provenance: human-readable bounded task label
sensor_dataNoCaller-published sensor measurements: `eisv` for a physical E/I/S/V reading, `afferents` for raw dimensions. Telemetry only, never a verdict input.
task_outcomeNoS22 H5 provenance: outcome label for the bounded task
ethical_driftNoEthical drift signals (3 components): [primary_drift, declared coherence_loss, complexity_contribution].
response_modeNoResponse shape. 'auto' (default) or 'compact' for routine check-ins; 'mirror' for actionable signals; 'full' for everything.auto
response_textNoAgent's response text (optional, for analysis)
comparison_keyNoS22 H5 provenance: stable key for comparing the same bounded task across harnesses
memory_contextNoS22 provenance: memory/KG/transcript surfaces visible to the writer
epistemic_classNoStorage label for this row: agent_report (default), substrate_observation (measured), substrate_interpretation (derived), prediction (forward claim).agent_report
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.
provenance_contextNoSituating metadata: harness_type, model_provider, model, transport, tool_surface, governance_mode, verification_source, locus. Descriptive only.
recent_tool_resultsNoSelf-reported tool outcomes from the agent's most recent actions.
trajectory_signatureNoTrajectory identity signature from anima-mcp.
require_strong_identityNoIf true, reject updates unless identity assurance tier is strong.
include_memory_suggestionsNoOpt in to a KG lookup seeded from this check-in and include a few matching discovery digests.
auto_export_on_significanceNoIf true, automatically export governance history when thermodynamically significant events occur.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/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—but it discloses only EISV field semantics (ranges and provenance), not behavior. It omits side effects such as auto_export_on_significance (governance history export), include_memory_suggestions (KG lookup), identity gating hinted by require_strong_identity, and what the response looks like. The 'implemented by process_agent_update()' line is an implementation detail, not behavioral disclosure.

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?

Roughly 70 words with the purpose front-loaded, but the 'implemented by process_agent_update()' clause is dead weight for an agent consuming the tool, and the EISV definitions are packed into one dense unbroken paragraph that is hard to scan. Information-dense but structurally unhelpful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 23 parameters, zero annotations, no output schema, and nested objects, the description covers only the EISV domain and omits the things an agent most needs: the call's outcome/return behavior, side-effect triggers, identity prerequisites, and sibling differentiation. The EISV semantics are thorough, but they constitute a small fraction of what a correct call requires.

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 the baseline is 3, but the description adds real value beyond the schema: it defines the EISV conceptual model (E=Energy, I=Information Integrity, S=Entropy, V=Valence), their numeric ranges, and their provenance semantics—none of which appear in the schema, which merely references `eisv` in sensor_data. This grounds parameters like sensor_data, complexity, and epistemic_class in a shared vocabulary.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Primary workflow name for checking in state" is essentially a restatement of sync_state and never says what the call accomplishes (stores state? reports metrics? computes a response?). It also fails to differentiate from the confusingly similar sibling check_working_state. The detailed EISV field definitions give substance about what 'state' contains, which prevents a 1, but the core purpose remains vague and jargon-bound.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'primary workflow for checking in' phrase weakly implies a usage context, but the description provides no exclusions, no conditions, and no alternatives. With 13 siblings including check_working_state, record_result, and health_check, an agent has no basis for choosing sync_state over the near-identical check_working_state, nor for knowing 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.