Configured tool · read-only
get_best_posts
Rank one account's posts by one evidence-backed metric over a requested window.
Human and agent roles
Configured boundary
Configured workspace
Null observations are excluded with a stated reason. They are never ranked as zero.
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.
account_idRequiredstringThe account whose published destinations are compared.
metricRequiredmetricThe single evidence-backed value used for ranking.
windowOptional7d | 30dRolling publication window ending at observation time.
Synthetic values
Example call
Identifiers and values are examples. They do not represent a connected workspace or accepted media source.
get_best_posts({
account_id: "acct_example_ig",
metric: "watch_time_s",
window: "30d"
})Observed API record
Return shape
Returns ranked posts and explicitly excluded posts for the same metric and period.
account_id · metric · window · periodscope- Exact account, metric, rolling window, UTC bounds, and account timezone.
rankedarray- Only posts with a non-null evidence-backed value, ordered descending.
ranked[].rank · metricevidence number- Value plus availability, observation time, and source.
excludedarray- Published destinations omitted from ranking because the selected metric is null or unobserved.
excluded[].metric.availability.reasonstring- Why that post could not be ranked.
Stop conditions
Agent handoff
rankedReport what happened
Preserve the metric, period, rank, and evidence metadata.
excludedPreserve the gap
Return each exclusion reason instead of inventing a zero.
emptyReport no evidence
Do not infer a winner when no post has an available value.