Précis Finance MCP is an MCP server published by io.github.precis-finance, hosted at mcp.precis.finance. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 20 tools, including precis_orientation, list_scenarios, list_kpis, list_inspection_sources, get_inspection_schema.
Public read-only Précis Finance MCP demo with synthetic data; no account or credentials required.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Call this first. Returns how to use Précis over this connector: the data model (scenarios, metrics, statements, dimensions), the reporting-tool variants, and how to build charts. Read it before composing queries.
No parameters.
{
"name": "precis_orientation",
"description": "Call this first. Returns how to use Précis over this connector: the data model (scenarios, metrics, statements, dimensions), the reporting-tool variants, and how to build charts. Read it before composing queries.",
"inputSchema": {
"type": "object",
"properties": {}
}
}List the available planning scenarios and their status.
No parameters.
{
"name": "list_scenarios",
"description": "List the available planning scenarios and their status.",
"inputSchema": {
"type": "object",
"title": "list_scenarios",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Browse the metric catalogue — metric keys, formats, domains, and the dimensions available per metric.
No parameters.
{
"name": "list_kpis",
"description": "Browse the metric catalogue — metric keys, formats, domains, and the dimensions available per metric.",
"inputSchema": {
"type": "object",
"title": "list_kpis",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List the row-level sources available for inspection.
No parameters.
{
"name": "list_inspection_sources",
"description": "List the row-level sources available for inspection.",
"inputSchema": {
"type": "object",
"title": "list_inspection_sources",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Get the column schema for an inspection source.
| Parameter | Type | Description |
|---|---|---|
| source_key * | string |
{
"name": "get_inspection_schema",
"description": "Get the column schema for an inspection source.",
"inputSchema": {
"type": "object",
"title": "get_inspection_schema",
"required": [
"source_key"
],
"properties": {
"source_key": {
"type": "string",
"title": "Source Key"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Inspect the row-level detail behind a figure, from an enabled inspection source. Returns a capped sample for reasoning plus a grid for the user.
| Parameter | Type | Description |
|---|---|---|
| limit | any | |
| columns | any | |
| filters | any | |
| period_end | any | |
| source_key * | string | |
| scenario_id * | string | |
| period_start | any |
{
"name": "inspect_rows",
"description": "Inspect the row-level detail behind a figure, from an enabled inspection source. Returns a capped sample for reasoning plus a grid for the user.",
"inputSchema": {
"type": "object",
"title": "inspect_rows",
"required": [
"source_key",
"scenario_id"
],
"properties": {
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Limit",
"default": null
},
"columns": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Columns",
"default": null
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"period_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period End",
"default": null
},
"source_key": {
"type": "string",
"title": "Source Key"
},
"scenario_id": {
"type": "string",
"title": "Scenario Id"
},
"period_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period Start",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Run a financial statement — P&L, variance report, or executive summary. Rows are statement lines (Revenue, Direct Cost, Gross Margin, …); columns are scenarios. Supports an optional dimension breakdown (e.g. by period or cost centre). For an unspecified general P&L, prefer `full_pnl` when it is listed by precis_orientation. Give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns a formatted table with structured data. The widget already displays this table to the user. Add useful interpretation; do not reproduce the table or restate all its rows in Markdown unless the user explicitly requests it or the widget is unavailable.
| Parameter | Type | Description |
|---|---|---|
| scale | any | |
| filters | any | |
| decimals | any | |
| scenarios | any | |
| statement | any | |
| dimensions | any | |
| period_end | any | |
| period_start | any |
{
"name": "run_statement",
"description": "Run a financial statement — P&L, variance report, or executive summary. Rows are statement lines (Revenue, Direct Cost, Gross Margin, …); columns are scenarios. Supports an optional dimension breakdown (e.g. by period or cost centre). For an unspecified general P&L, prefer `full_pnl` when it is listed by precis_orientation. Give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns a formatted table with structured data. The widget already displays this table to the user. Add useful interpretation; do not reproduce the table or restate all its rows in Markdown unless the user explicitly requests it or the widget is unavailable.",
"inputSchema": {
"type": "object",
"title": "run_statement",
"properties": {
"scale": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Scale",
"default": null
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"decimals": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Decimals",
"default": null
},
"scenarios": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Scenarios",
"default": null
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Statement",
"default": null
},
"dimensions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Dimensions",
"default": null
},
"period_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period End",
"default": null
},
"period_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period Start",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Run a financial statement — P&L, variance report, or executive summary. Rows are statement lines (Revenue, Direct Cost, Gross Margin, …); columns are scenarios. Supports an optional dimension breakdown (e.g. by period or cost centre). For an unspecified general P&L, prefer `full_pnl` when it is listed by precis_orientation. Give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns the raw figures (and a `data_ref`) for your own analysis or to build a chart — pass `[data_ref]` as `data_refs` to eval_chart_transform. Does not show the user a table.
| Parameter | Type | Description |
|---|---|---|
| scale | any | |
| filters | any | |
| decimals | any | |
| scenarios | any | |
| statement | any | |
| dimensions | any | |
| period_end | any | |
| period_start | any |
{
"name": "run_statement_data",
"description": "Run a financial statement — P&L, variance report, or executive summary. Rows are statement lines (Revenue, Direct Cost, Gross Margin, …); columns are scenarios. Supports an optional dimension breakdown (e.g. by period or cost centre). For an unspecified general P&L, prefer `full_pnl` when it is listed by precis_orientation. Give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns the raw figures (and a `data_ref`) for your own analysis or to build a chart — pass `[data_ref]` as `data_refs` to eval_chart_transform. Does not show the user a table.",
"inputSchema": {
"type": "object",
"title": "run_statement",
"properties": {
"scale": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Scale",
"default": null
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"decimals": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Decimals",
"default": null
},
"scenarios": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Scenarios",
"default": null
},
"statement": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Statement",
"default": null
},
"dimensions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Dimensions",
"default": null
},
"period_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period End",
"default": null
},
"period_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period Start",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Break one or more metrics down by a dimension — revenue by project, utilisation by employee, headcount trends, GL account drill-down. Rows are the dimension; columns are metrics × scenarios. Pass `scenarios` explicitly and give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns a formatted table with structured data. The widget already displays this table to the user. Add useful interpretation; do not reproduce the table or restate all its rows in Markdown unless the user explicitly requests it or the widget is unavailable.
| Parameter | Type | Description |
|---|---|---|
| scale | any | |
| filters | any | |
| metrics * | array | |
| decimals | any | |
| scenarios | any | |
| dimensions | any | |
| period_end | any | |
| period_start | any |
{
"name": "run_metric",
"description": "Break one or more metrics down by a dimension — revenue by project, utilisation by employee, headcount trends, GL account drill-down. Rows are the dimension; columns are metrics × scenarios. Pass `scenarios` explicitly and give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns a formatted table with structured data. The widget already displays this table to the user. Add useful interpretation; do not reproduce the table or restate all its rows in Markdown unless the user explicitly requests it or the widget is unavailable.",
"inputSchema": {
"type": "object",
"title": "run_metric",
"required": [
"metrics"
],
"properties": {
"scale": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Scale",
"default": null
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"title": "Metrics"
},
"decimals": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Decimals",
"default": null
},
"scenarios": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Scenarios",
"default": null
},
"dimensions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Dimensions",
"default": null
},
"period_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period End",
"default": null
},
"period_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period Start",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Break one or more metrics down by a dimension — revenue by project, utilisation by employee, headcount trends, GL account drill-down. Rows are the dimension; columns are metrics × scenarios. Pass `scenarios` explicitly and give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns the raw figures (and a `data_ref`) for your own analysis or to build a chart — pass `[data_ref]` as `data_refs` to eval_chart_transform. Does not show the user a table.
| Parameter | Type | Description |
|---|---|---|
| scale | any | |
| filters | any | |
| metrics * | array | |
| decimals | any | |
| scenarios | any | |
| dimensions | any | |
| period_end | any | |
| period_start | any |
{
"name": "run_metric_data",
"description": "Break one or more metrics down by a dimension — revenue by project, utilisation by employee, headcount trends, GL account drill-down. Rows are the dimension; columns are metrics × scenarios. Pass `scenarios` explicitly and give every scenario a concise, user-facing `alias` such as Actuals, Budget, Variance, or Var %. Returns the raw figures (and a `data_ref`) for your own analysis or to build a chart — pass `[data_ref]` as `data_refs` to eval_chart_transform. Does not show the user a table.",
"inputSchema": {
"type": "object",
"title": "run_metric",
"required": [
"metrics"
],
"properties": {
"scale": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Scale",
"default": null
},
"filters": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"title": "Filters",
"default": null
},
"metrics": {
"type": "array",
"items": {
"type": "string"
},
"title": "Metrics"
},
"decimals": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Decimals",
"default": null
},
"scenarios": {
"anyOf": [
{
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
}
},
{
"type": "null"
}
],
"title": "Scenarios",
"default": null
},
"dimensions": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"title": "Dimensions",
"default": null
},
"period_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period End",
"default": null
},
"period_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period Start",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Search the dimension hierarchies (cost centres, accounts, …) to find valid codes and ids before composing a query.
| Parameter | Type | Description |
|---|---|---|
| limit | any | |
| query | any | |
| dimension | any |
{
"name": "search_hierarchy",
"description": "Search the dimension hierarchies (cost centres, accounts, …) to find valid codes and ids before composing a query.",
"inputSchema": {
"type": "object",
"title": "search_hierarchy",
"properties": {
"limit": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Limit",
"default": null
},
"query": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Query",
"default": null
},
"dimension": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Dimension",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List the dimensions defined in the model — keys, labels, and kinds (leaf / derived / ragged hierarchy). Catalogue metadata only; use search_hierarchy to list a dimension's members.
No parameters.
{
"name": "list_dimensions",
"description": "List the dimensions defined in the model — keys, labels, and kinds (leaf / derived / ragged hierarchy). Catalogue metadata only; use search_hierarchy to list a dimension's members.",
"inputSchema": {
"type": "object",
"title": "list_dimensions",
"properties": {},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List the what-if variants of a scenario.
| Parameter | Type | Description |
|---|---|---|
| scenario_id * | string |
{
"name": "list_variants",
"description": "List the what-if variants of a scenario.",
"inputSchema": {
"type": "object",
"title": "list_variants",
"required": [
"scenario_id"
],
"properties": {
"scenario_id": {
"type": "string",
"title": "Scenario Id"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Create a chart from data_refs (an array of snapshot IDs), a bounded JavaScript function, and chart_spec. Supports line, bar, area, waterfall, scatter, horizontal_bar, forecast_line, cohort_heatmap and sparkline_row. Query first and inspect rows; the transform takes one result per ref and returns flat rows. Cached values are already scaled: scale 3 means non-exempt metrics are in thousands; scale 0 means units. Percentages (75 means 75%), FTEs and other scale-exempt metrics retain their units. Do not scale again; y_scale is forced to 0. For multiple sources, inspect each scale and format; re-query same-unit series at a common scale, and use separately labelled axes for different units (line/bar/area) or separate charts. Conflicting nonempty caption scale labels are omitted; unlabelled sources leave other labels intact. Set axis unit labels explicitly.
| Parameter | Type | Description |
|---|---|---|
| data_refs * | array | |
| chart_spec * | object | |
| transform_code * | string |
{
"name": "eval_chart_transform",
"description": "Create a chart from data_refs (an array of snapshot IDs), a bounded JavaScript function, and chart_spec. Supports line, bar, area, waterfall, scatter, horizontal_bar, forecast_line, cohort_heatmap and sparkline_row. Query first and inspect rows; the transform takes one result per ref and returns flat rows. Cached values are already scaled: scale 3 means non-exempt metrics are in thousands; scale 0 means units. Percentages (75 means 75%), FTEs and other scale-exempt metrics retain their units. Do not scale again; y_scale is forced to 0. For multiple sources, inspect each scale and format; re-query same-unit series at a common scale, and use separately labelled axes for different units (line/bar/area) or separate charts. Conflicting nonempty caption scale labels are omitted; unlabelled sources leave other labels intact. Set axis unit labels explicitly.",
"inputSchema": {
"type": "object",
"title": "eval_chart_transform",
"required": [
"data_refs",
"transform_code",
"chart_spec"
],
"properties": {
"data_refs": {
"type": "array",
"items": {
"type": "string"
},
"title": "Data Refs"
},
"chart_spec": {
"type": "object",
"title": "Chart Spec",
"additionalProperties": true
},
"transform_code": {
"type": "string",
"title": "Transform Code"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Export a previously returned data_ref to json or xlsx without rerunning the query. Use this for standard Excel exports of reports already shown, rather than rebuilding their JSON with Python. Financial XLSX uses shared server formatting and retains source/region metadata for add-in conversion. Returns a temporary file/download link; an expired snapshot requires a fresh authorized query, whose values may change.
| Parameter | Type | Description |
|---|---|---|
| format * | string | |
| data_ref * | string |
{
"name": "export_dataset",
"description": "Export a previously returned data_ref to json or xlsx without rerunning the query. Use this for standard Excel exports of reports already shown, rather than rebuilding their JSON with Python. Financial XLSX uses shared server formatting and retains source/region metadata for add-in conversion. Returns a temporary file/download link; an expired snapshot requires a fresh authorized query, whose values may change.",
"inputSchema": {
"type": "object",
"title": "export_dataset",
"required": [
"data_ref",
"format"
],
"properties": {
"format": {
"type": "string",
"title": "Format"
},
"data_ref": {
"type": "string",
"title": "Data Ref"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Renew a download capability for an available, owned artifact.
| Parameter | Type | Description |
|---|---|---|
| file_id * | string |
{
"name": "get_file_download",
"description": "Renew a download capability for an available, owned artifact.",
"inputSchema": {
"type": "object",
"title": "get_file_download",
"required": [
"file_id"
],
"properties": {
"file_id": {
"type": "string",
"title": "File Id"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List data-load attempts from the ingestion audit trail — when each dataset landed, with what status. Answers "is April in yet?" / "when was this data last loaded?".
| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| period | any | |
| status | any | |
| binding_id | any | |
| dataset_id | any |
{
"name": "list_load_history",
"description": "List data-load attempts from the ingestion audit trail — when each dataset landed, with what status. Answers \"is April in yet?\" / \"when was this data last loaded?\".",
"inputSchema": {
"type": "object",
"title": "list_load_history",
"properties": {
"limit": {
"type": "integer",
"title": "Limit",
"default": 50
},
"period": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Period",
"default": null
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status",
"default": null
},
"binding_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Binding Id",
"default": null
},
"dataset_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Dataset Id",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Fetch one data load's full detail by load_id — timestamps, status, rows landed, and any error message.
| Parameter | Type | Description |
|---|---|---|
| load_id * | string |
{
"name": "get_load_status",
"description": "Fetch one data load's full detail by load_id — timestamps, status, rows landed, and any error message.",
"inputSchema": {
"type": "object",
"title": "get_load_status",
"required": [
"load_id"
],
"properties": {
"load_id": {
"type": "string",
"title": "Load Id"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}List the configured data feeds (ingestion bindings) with their schedule — which datasets load, from where, how often.
| Parameter | Type | Description |
|---|---|---|
| target | any | |
| source_id | any |
{
"name": "list_bindings",
"description": "List the configured data feeds (ingestion bindings) with their schedule — which datasets load, from where, how often.",
"inputSchema": {
"type": "object",
"title": "list_bindings",
"properties": {
"target": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Target",
"default": null
},
"source_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Source Id",
"default": null
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Fetch one data feed's full configuration: source, target dataset, schedule, and extract parameters.
| Parameter | Type | Description |
|---|---|---|
| binding_id * | string |
{
"name": "get_binding",
"description": "Fetch one data feed's full configuration: source, target dataset, schedule, and extract parameters.",
"inputSchema": {
"type": "object",
"title": "get_binding",
"required": [
"binding_id"
],
"properties": {
"binding_id": {
"type": "string",
"title": "Binding Id"
}
},
"additionalProperties": false
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}# Précis — Finance Intelligence (MCP connector) You are connected to Précis, a FP&A data platform with read-only finance access for your organisation: query financial statements and metrics, inspect row-level detail, and build charts. Reporting tools come in variants — `run_statement`/`run_metric` show the user a table; `run_statement_data`/`run_metric_data` return the raw figures plus a `data_ref` for analysis or charting; `export_dataset(data_ref, format)` exports the cached snapshot to JSON or XLSX. To chart: call a `_data` tool, then `eval_chart_transform(data_refs, JS transform, chart_spec)`. The rest of this document details the data model and the chart transform. You cannot write plans, create scenarios, or change settings — those live in the Précis app. ## How the reporting tools are shaped The two reporting tools come in variants — pick the one that matches what the user needs: - **`run_statement` / `run_metric`** — render a formatted table for the user (the default; use when they want to *see* the figures). - **`run_statement_data` / `run_metric_data`** — return the raw figures for you to analyse, compute over, or transform (no table is shown to the user). These also return a `data_ref` handle used for charting (see **Charts**). - **`export_dataset`** — generate an Excel file and return a download link. Surface that link to the user as a clickable Markdown link verbatim to deliver the file. The link expires after a few minutes, so tell them to click promptly. Figures default to thousands with one decimal place unless you pass `scale` / `decimals` explicitly. For a general P&L request, when the user has not chosen a statement and no active report default applies, use `full_pnl` if it is listed under **Available Statements**. Respect an explicit request for a narrower statement or executive summary; if `full_pnl` is not listed, choose the closest available P&L statement. **Always give every scenario a user-facing `alias`.** The `scenario` value is an internal query key; `alias` is the column heading the user sees. Prefer concise finance labels such as `Actuals`, `Budget`, `Variance`, `Var %`, or `Prior Year`. For example: `scenarios=[{"scenario":"actuals","alias":"Actuals"}, {"scenario":"actuals_vs_budget_pct","alias":"Var %"}]`. Never let raw keys such as `actuals_vs_budget_pct` become visible table headings. Utility tools — `list_scenarios`, `list_kpis`, `search_hierarchy`, `list_inspection_sources`, `get_inspection_schema`, `inspect_rows`, `list_variants` — discover valid scenario ids, metric keys, dimensions, and row-level detail before composing a query. ## Choosing run_statement vs run_metric - **Financial statement** (P&L, variance report, executive summary) → `run_statement`. Rows = statement lines (Revenue, Direct Cost, Gross Margin, …); columns = scenarios (Actuals, Budget, Variance, …). - **Metric breakdown** (revenue by project, utilisation by employee, headcount, GL account drill-down) → `run_metric`. Rows = a dimension; columns = metrics × scenarios. Always pass `scenarios` explicitly, e.g. `scenarios=[{"scenario": "actuals", "alias": "Actuals"}]`, unless the user named another scenario. The `period` and `cost_centre` dimensions work for every statement; other dimensions may only apply to compatible metrics. ## Breaking down by a hierarchy A hierarchy dimension can be used as a breakdown: it shows **one level down** — the filtered hierarchy node is the **Total**, its **immediate children** are the rows. Pass a filter selecting one node of the hierarchy together with the hierarchy as the dimension: `filters={<hierarchy>: <node_id>}` with `dimensions=[<hierarchy>]`. "Drill into {X}" means filter the hierarchy to X's node and break down by that hierarchy. Use `search_hierarchy` to get a node's id. One hierarchy at a time (the sole breakdown axis), a node filter is required, and a time/calendar hierarchy cannot be broken down this way. ## The data model ## Available Sta
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.