Skip to main content
Glama

Read the post history

query_history
Read-only

Retrieve logged social posts newest first and filter by days, topic, format, or caption inclusion to prevent duplicate content.

Instructions

Returns logged posts, newest first, optionally filtered.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

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

Input Schema

NameRequiredDescriptionDefault
daysNoOnly posts from the last N days
topicNo
formatNo
include_captionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.3

TDQS

C2.9/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the bar is lower. The description adds useful behavior (newest-first ordering, optional filtering) but says nothing about result volume, pagination, or whether an unfiltered call returns the entire history — meaningful for a history endpoint with no limit parameter.

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

Conciseness4/5

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

A single front-loaded sentence with no filler; ordering and filtering arrive immediately. It is efficient, though the brevity borders on under-specification rather than true economy.

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

Completeness2/5

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

With four optional parameters, no output schema, and three undocumented parameters (topic, format, include_captions), the description leaves an agent guessing at call shape. It should at minimum indicate that topic/caption filters exist and what format controls.

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

Parameters2/5

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

Schema coverage is only 25%: only "days" is documented in the schema. The description's "optionally filtered" does not identify which fields filter (topic, format, include_captions) or what values "format" accepts, so it fails to compensate for the coverage gap.

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

Purpose4/5

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

"Returns logged posts, newest first, optionally filtered" gives a specific verb (returns), a specific resource (logged posts), and adds ordering and filtering scope. It is clear what the tool yields, though it never distinguishes itself from siblings like log_post or render_post, so an agent must infer the read-vs-write boundary.

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

Usage Guidelines2/5

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

"Optionally filtered" hints that filters exist but gives no when-to-use guidance, no exclusions, and no named alternative. An agent gets no signal about when to reach for query_history versus log_post or get_insights.

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