Skip to main content
This document provides a technical reference for all FastMCP tools mounted on the toorow microkernel server (server/core/main.py).

1. Analytics & Reporting Tools

get_daily_report

Fetches canonical daily marketing metrics across all active connectors for a project.
  • Returns: FastMCP dual-channel envelope (short LLM text summary + structuredContent payload for MCP App widgets).

<source>_report

Source-specific report tools auto-discovered at boot (e.g. google_analytics_report, meta_ads_report, mailgun_report).

2. Intelligence & Surveillance Tools

get_morning_briefing

Synthesizes the latest nightly briefing for an AI agent.
  • Returns: Daily KPI deltas, flagged anomalies (anomalies_daily), and active candidate context events (context_events).

get_source_capabilities

Inspects source metadata, available fields, supported grains, and filter bounds.
  • Returns: Authoritative capability descriptor (schema version 1.2).

3. Governed Flow Management Tools

flows_list & flows_get

Lists or retrieves active datastreams and report configurations for a project.

flows_upsert

Creates or updates a datastream or report configuration in a governed, audited manner.
  • Guardrails: Calls validate_flow() before database writes. Rejects unvalidated keys (access_token, secret) to enforce AD-3 security.

4. Observability & Feedback Tools

submit_feedback

Submits user rating (+1 / -1) and optional commentary on an agent analysis trace (AD-13).

Next Steps & Cross-References

Agent Rules

Review system instructions and constraints for tool execution.

MCP App Use Cases

Explore interactive MCP App UI widgets powered by tool outputs.

MCP Host Integration

Connect external LLM clients to toorow’s FastMCP server.

Agent Context

Inspect schema discovery and context event integration.