Skip to main content
Glama
RecurPost MCP Server
by dinwal

history_data

Read-only

Retrieve a social account's posting history with live post links and failure reasons, using a date range for up to 100 posts or the last 60 minutes by default.

Instructions

Posting history of one social account (id = smpa_id) with live post links and fail reasons. Send start_date and end_date together (YYYY-MM-DD HH:MM:SS in the account's timezone) to get up to 100 posts of that window; without dates only the last 60 minutes come back. For every account at once use history_list.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>"
    },
    "name": "history_data"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEncrypted social account id from /api/social_account_list.
end_dateNoEnd of the window, YYYY-MM-DD HH:MM:SS in the account's timezone. Must be sent together with start_date.
start_dateNoStart of the window, YYYY-MM-DD HH:MM:SS in the account's timezone (the time part is mandatory). Must be sent together with end_date.
workspace_idNoWorkspace to act in (ws_id from workspace_list). Omit to use your default workspace.
is_get_video_updatesNofalse, 0, no or off leaves video posts out, sent as a JSON boolean or number or as a string. Default: true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.0.0
    • changedInput schema / properties / end_date / description
      Previous value: -"End date in YYYY-MM-DD HH:MM:SS format"New value: +"End of the window, YYYY-MM-DD HH:MM:SS in the account's timezone. Must be sent together with start_date."
    • changedInput schema / properties / id / description
      Previous value: -"Social account ID (from social_account_list)"New value: +"Encrypted social account id from /api/social_account_list."
    • changedInput schema / properties / is_get_video_updates / description
      Previous value: -"Include video update metrics (default: true)"New value: +"false, 0, no or off leaves video posts out, sent as a JSON boolean or number or as a string. Default: true."
    • changedInput schema / properties / start_date / description
      Previous value: -"Start date in YYYY-MM-DD HH:MM:SS format"New value: +"Start of the window, YYYY-MM-DD HH:MM:SS in the account's timezone (the time part is mandatory). Must be sent together with end_date."
    • changedInput schema / properties / workspace_id / description
      Previous value: -"Workspace ID (ws_id from workspace_list). Omit to use your default workspace."New value: +"Workspace to act in (ws_id from workspace_list). Omit to use your default workspace."
  2. Changed1 schema field changedv1.1.3
    • addedInput schema / properties / workspace_id
      Added value: +{
      +  "description": "Workspace ID (ws_id from workspace_list). Omit to use your default workspace.",
      +  "type": "string"
      +}
  3. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the description is not burdened with safety disclosure. It still adds real behavioral context beyond the annotations: the default 60-minute window when dates are omitted, a 100-post ceiling per window, and the presence of live post links and failure reasons in the response. It stops short of saying what happens if the window contains more than 100 posts (truncation vs. pagination) or how errors surface, which keeps it from a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, all load-bearing, front-loaded with what the tool returns before the windowing rules and the sibling pointer. No restatement of the tool name and no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only history tool with no output schema, the description covers the essentials: scope (one account), windowing/defaults, result cap, and the kind of fields returned. The remaining gap is what happens past the 100-post ceiling and whether results are paginated, which an agent would want to know before relying on completeness of a window.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, and the description earns an extra point by documenting the runtime default that no single schema field expresses: omitting both dates silently restricts results to the last 60 minutes. It also reinforces the joint-requirement rule for start_date/end_date and the account-timezone format, though it adds nothing about is_get_video_updates or workspace_id beyond what the schema already says.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('Posting history of one social account'), identifies the id field as smpa_id, and names what the response contains (live post links, fail reasons). It explicitly contrasts with the sibling history_list, which covers all accounts, so an agent can route correctly without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit conditional behavior: dates sent together return up to 100 posts for that window, no dates returns only the last 60 minutes, and 'for every account at once use history_list' names the alternative and the condition selecting it. Nothing about when to use this versus the sibling is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.