Tools
What an agent can call.
Every tool call is scoped to the Agent Views the authenticated user can already see — the server enforces this before a query runs, not after.
| Tool | Description | Returns |
|---|---|---|
| list_agent_views | Lists the Agent Views the current user is authorized to reach. | Name, description, and last-refreshed time for each view. |
| describe_agent_view | Returns the definitions, columns, and access policy for one Agent View. | Schema, business definitions, and governance metadata. |
| query_agent_view | Runs a governed query against an Agent View and returns rows. | Result rows plus the source table and policy under which it ran. |
| get_lineage | Traces a field or table back through its transformations to the original source. | A lineage graph from source to Agent View. |
| get_pipeline_status | Reports the health of the pipelines feeding an Agent View. | Freshness, last run status, and any open remediations. |
Example
Query an Agent View.
A simplified request and response for query_agent_view. The receipt — source table, agent view, and governance tag — comes back with every answer.
// request
{ "tool": "query_agent_view",
"view": "revenue_360",
"question": "EMEA bookings last week" }
// response
{ "answer": "...",
"source": "fct_opportunity",
"agent_view": "revenue_360",
"governed": true,
"latency_ms": 214 }
{ "tool": "query_agent_view",
"view": "revenue_360",
"question": "EMEA bookings last week" }
// response
{ "answer": "...",
"source": "fct_opportunity",
"agent_view": "revenue_360",
"governed": true,
"latency_ms": 214 }
Resources
What the server also exposes as MCP resources.
Alongside callable tools, the server publishes read-only resources an agent can subscribe to for context without an explicit query.
| Resource URI | Contents |
|---|---|
| dagen://views | The live catalog of Agent Views available to the current session. |
| dagen://views/{name}/schema | Column definitions and types for a specific Agent View. |
| dagen://views/{name}/lineage | The lineage graph for a specific Agent View, source to surface. |
Haven't connected yet?
The quickstart walks through adding the server and asking your first question, end to end.