Agent conventions
Use these rules when calling Archive tools. Each tool’s description adds its own input requirements, retry guarantees, and verification steps.
userErrors can accompany partial success
A tool can return isError: false (or omit isError) even when a write failed.
Check userErrors before reporting success. Some writes reject the whole request; others apply
valid parts and report errors for the rest.
Read each error’s field and message. The field is an array of path segments, such as
["input","name"]. Verify current state, then correct only the failed parts.
Replaying the entire request can repeat successful work.
{
"collection": null,
"userErrors": [
{ "field": ["input", "name"], "message": "has already been taken" }
]
} Authentication failures return HTTP 401. Tool failures such as inaccessible workspaces, invalid
arguments, rate limits, and unknown tools return isError: true. Unexpected server errors use the
message "Tool execution failed" without exposing internal details.
Validation and server errors also suggest submitFeedback for suspected bugs; that tool does not
add the suggestion to its own errors.
Retry discipline
After a timeout or connection error, check whether the write completed before retrying.
Every write tool’s description names a read tool for this check. For a delete, verify that the
read returns null.
Tools annotated idempotentHint: true can be retried within their documented guarantee.
For createCampaign, retry the same valid input and externalId, with matching campaignType and settings.
A retry returns the original campaign. It does not apply changed input or resume work interrupted
after the campaign was saved. Other create tools may create duplicates.
updateCampaign is not idempotent: adding creators queues imports. An unchanged creatorsCount
does not prove the request failed. Check getCampaignCreators and getOperations before retrying.
Do not repeat additions while their imports may still be running.
Destructive tools
annotations.destructiveHint: true means a call can overwrite stored values, change membership or
ordering, or send a webhook delivery to your endpoint.
That covers every delete*, update*, move* and reorder* tool, removeItemFromCollections,
refetchEngagementBulk, rotateWebhookSubscriptionSecret, and the three webhook-delivering tools.
The annotation covers more than deletions. Explain what will change before calling one.
For a reversible change, a separate confirmation is not required.
Irreversible tools
A smaller set is tagged irreversible. These calls delete saved state or spend credits that cannot be recovered:
- Every
delete*tool. mergeLabels. The source label is deleted, and the combined memberships cannot be separated afterward.rotateWebhookSubscriptionSecret. A retired secret remains valid during its 24-hour overlap, then is destroyed. Store the new secret from the response; you cannot retrieve it later.refetchEngagementBulk. Credits for a completed refresh are not refunded. Credits reserved for failed items are released when the operation finishes.createDeepResearchReport, when the Deep Research alpha is enabled. Quote the report and obtain approval before starting it; spent credits are not refunded.
Before calling an irreversible tool, confirm with the person and include the affected ID or label name. The tool’s description explains what it removes or spends and what remains.
Deleting a saved view or Collection never deletes content: the items survive and lose only that one tag or grouping. Deleting a label keeps the creator records, but removes that label from each creator.
Async ingest
uploadItemFromUrl and refetchEngagementBulk queue work. A success payload does not mean the work
has finished. Check the verification tool named in the description before reporting completion.
The write response does not contain the finished result.
Concise responses
Tools that support responseFormat accept "detailed" (the default) or "concise".
Check the tool’s input schema for availability. Concise responses return fewer fields while
preserving their shapes.
For searchItems, concise results include ID, originalUrl, provider, type, takenAt, caption,
a minimal socialProfile, and currentEngagement. They also include creator { id } for matching
posts to creator records. Use this ID when comparing a campaign roster with its authors.
Do not match by accountName: a workspace can have two creator records sharing a handle.
Use concise responses while searching and ranking. Switch to detailed when you need fields that concise omits. This reduces the amount of data the agent needs to read.
Enum values
Use the UPPERCASE enum values listed in the tool schema. The itemTypes filter combines platform
and format. An item’s returned type describes only the format, so you cannot always reuse it as
a filter. See Core concepts for the mapping.
View filters: clone, don’t compose
To copy a saved view, fetch it with the matching get* tool. Copy its filters, sort, and
customAttributeConditions without changing their structure.
To build a new Content View, prefer typed filter and sorting inputs, as used by searchItems.
Send exactly one of filter or filters, and at most one of sorting or sort.
Use raw filters and sort when copying an existing view.
Social Profile Views and Creator Views use raw filters for the app’s display.
Copy an existing view’s value, or use {} when no display filters are needed.
The current MCP tools narrow saved-view results through customAttributeConditions, not raw filters.
Auditing
Each write records one audit event, including failed writes. The event includes who made the call,
the authentication method, the MCP client name, the result, and any userErrors.