Configured tool · read-only
get_performance
Read normalized measurements for one post or one connected account.
Human and agent roles
Configured boundary
Configured workspace
Provide exactly one scope identifier. Preserve every number, null, availability state, reason, and observation time.
This reference describes a connection made with @postdom/mcp@0.3.0 and a workspace-scoped agent key created in Accounts.
Callable schema
Input fields
Field names match the configured tool schema. Runtime-only constraints are labeled separately from schema validation.
post_idOptionalstringReads all stored destination snapshots for one post.
account_idOptionalstringReads snapshots for one connected account.
windowOptional7d | 30dApplies only to account reads. It does not change post-scoped reads.
Synthetic values
Example call
Identifiers and values are examples. They do not represent a connected workspace or accepted media source.
get_performance({
post_id: "post_example_08"
})Configured behavior
Read modes
The tool selects one of two read paths from the supplied identifier. The response envelope changes with that scope.
One post
Returns all stored destination snapshots for post_id. The window input does not change this read.
One account
Returns snapshots for account_id within the supplied 7d or 30d window.
Observed API record
Return shape
Returns a post-scoped or account-scoped envelope containing normalized performance rows and a summary.
post_idstring- Present on post-scoped reads.
account_id · windowstring- Present on account-scoped reads.
performancearray- Normalized rows, each tied to one destination publish.
performance[].publish_idstring- Destination publish that produced the snapshot.
performance[].platform · captured_at · sourcemetadata- Destination, observation time, and webhook or poll source.
performance[].views · likes · comments · sharesnumber- Required normalized engagement counters. Numeric zero remains zero.
performance[].savesnumber | null- Normalized saves when evidence exists. Numeric zero remains zero.
performance[].watch_time_s · avg_watch_pct · completion_pct · follower_deltanumber | null- Nullable normalized watch and audience fields. Numeric zero remains zero.
performance[].change_since_lastobject | optional- Per-field numeric changes when a previous snapshot exists.
performance[].availabilityobject- Per-field state, verification time, evidence category, and reason.
week_over_weekobject | null- Account reads include the latest two completed account-local weeks, per-metric aggregates and deltas, availability, and observed-publish counts for both populations.
eligibilityobject- Post reads can return ineligible with publish_failed.
summarystring- Human-readable summary of returned evidence.
Stop conditions
Agent handoff
both IDs · neither IDCorrect the call
Provide exactly one of post_id or account_id.
eligiblePreserve evidence
Return values with their availability metadata and observation time.
ineligible · publish_failedStop measurement
Return the eligibility reason instead of inventing a snapshot.
nullKeep it distinct
Never convert null to zero or promise a reason for every availability state.