Assert metrics
assert-metricsWrites externally-observed metric values (usage counts, marketing numbers, hand-carried figures) into the period's standing factset_type='metric' FactSet with AssertedProvenance — the observation sibling of compute-metrics. One standing FactSet per (structure, entity, period_end); re-asserting a period replaces its facts. Structures carrying Derive rules are compute-owned and rejected: asserted and derived metric series keep disjoint structures. Observations must resolve to concepts on the structure's presentation catalog. Deterministic and non-AI — no credits consumed.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"period_end": "2026-07-31",
"observations": [
{
"qname": "rsx:GithubStars",
"value": 1240
},
{
"qname": "rsx:NpmDownloads",
"value": 3811
}
],
"period_start": "2026-07-01",
"structure_id": "str_growth_metrics",
"source_system": "content-machine"
},
"name": "assert-metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | The entity the asserted values belong to, by id. Omit for the group parent. | |
| basis_note | No | Free-text basis / source reference for the observations. | |
| period_end | Yes | Period end the observations are for — instant concepts (a follower count at month end) land as of this date; duration concepts (monthly downloads) end on it. | |
| observations | Yes | Observed values, one per metric concept — duplicates rejected. | |
| period_start | No | Window start for duration concepts and the standing FactSet's period_start. Instant concepts ignore it. | |
| structure_id | Yes | Metric block structure (block_type='metric') to assert into. | |
| source_system | Yes | Identifier of the asserting system (e.g. 'content-machine') — recorded as the AssertedProvenance source_system. |