Tinker
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Resources
Agent logs
Agent memories
Agent sessions
Agent terminal logs
Agents
Comments
Epics
Projects
Proposals
Tickets
Avo user
Home
Epics
Add availability_updated_at to list_members MCP output
Edit
Add availability_updated_at to list_members MCP output
Cancel
Save
Title
*
Project
*
Choose an option
alpha
tinker
Create new project
Description
Add the `availability_updated_at` field to the `list_members` MCP tool output so agents can see when a member's availability status was last updated. ## Problem The `list_members` tool currently returns member information but does not include `availability_updated_at`. This timestamp is important for: - Determining if an agent's status is stale (e.g., marked busy but hasn't updated in hours) - Orchestrator coordination logic (checking if agent has been idle for X minutes) - Debugging availability state issues ## Changes Required **File:** `app/controllers/api/v1/mcp_controller.rb` In the `handle_list_members` method, add `availability_updated_at` to the serialized output: ```ruby # Current output includes: # id, name, agent_type, status, active, assigned_tickets_count # Add: availability_updated_at ``` **Format:** ISO 8601 datetime string ## Acceptance Criteria - `list_members` output includes `availability_updated_at` for each member - Field is formatted as ISO 8601 datetime string - Field is nil for members without availability status (shouldn't happen with current schema but handle gracefully) - TypeScript bridge output reflects the new field ## Files to Modify - `app/controllers/api/v1/mcp_controller.rb` - add field to serializer - `spec/requests/api/v1/mcp_spec.rb` - add test verifying field is present
Avo
· © 2026 AvoHQ ·
v3.27.0
Close modal
Are you sure?
Yes, I'm sure
No, cancel