Agent Observability
v1.1.0Agent observability: structured logging, cost tracking, and compliance audit trails
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
log_event
Log an agent event with metadata for observability and compliance tracking. Cost: ~$0.0001 per log (100K free/month).
| Parameter | Type | Description |
|---|---|---|
event_type * | string | Type of event: 'api_call', 'decision', 'transaction', 'error', 'state_change' |
agent_id | string | Identifier for the agent generating this log |
metadata | object | Structured metadata: provider, cost_usd, latency_ms, tokens_used, model, etc. |
severity | string | Event severity level (default: info) |
query_logs
Query logged events with filters. Returns recent logs matching criteria.
| Parameter | Type | Description |
|---|---|---|
agent_id | string | Filter by agent ID |
event_type | string | Filter by event type |
from_date | string | Start date (ISO 8601 format) |
limit | number | Maximum number of results (default: 10, max: 100) |
severity | string | Filter by severity level |
to_date | string | End date (ISO 8601 format) |
get_cost_analytics
Get cost breakdown by agent, provider, or time period. Useful for tracking API spending.
| Parameter | Type | Description |
|---|---|---|
from_date * | string | Start date (ISO 8601 format) |
to_date * | string | End date (ISO 8601 format) |
group_by | string | How to group cost data (default: agent_id) |