Skip to main content
Glama

Bloggity

Get post traffic

get_post_traffic
Read-onlyIdempotent

Traffic for one post over a range: pageviews, visitors, visits, average duration and bounce rate. Always read ageDays alongside it (a young post has had less time to collect views) and lowConfidence (true means too little data to judge). If status is not 'ready', say traffic data is not available and do not guess numbers.

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": {
      "postId": "<postId>"
    },
    "name": "get_post_traffic"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNoTime window30d
postIdYesPost id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the description's job is to add context — which it does well by disclosing output-side signals (ageDays, lowConfidence, status) and an explicit failure behavior: if status is not 'ready', report unavailability rather than guessing. Remaining gaps are minor: the set of possible status values and units for duration are unspecified.

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?

Three sentences, metric list front-loaded, and the parenthetical explaining why ageDays matters earns its space. The unavailability rule at the end is a slight shift in topic but is operationally important and stated compactly.

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?

With no output schema, the description carries the burden of describing the response, and it does so reasonably by naming the metrics plus the three interpretive fields (ageDays, lowConfidence, status). It stops short of units or the full status vocabulary, but an agent has enough to call the tool and report results correctly.

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

Parameters3/5

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

Schema description coverage is 100%, so both parameters are already documented with an enum and default for range. The description restates "over a range" without adding format, default behavior, or selection guidance beyond what the schema provides; baseline 3 applies.

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?

"Traffic for one post over a range" names the resource and scope, and the enumeration of metrics (pageviews, visitors, visits, average duration, bounce rate) tells an agent exactly what comes back. The "one post" scoping implicitly separates it from a site-wide analytics tool, but no sibling is named, so differentiation relies on inference.

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

Usage Guidelines3/5

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

Usage is implied by the scoping (single post) rather than stated with when/when-not conditions or named alternatives such as get_analytics or get_post. The guidance given — always read ageDays, watch lowConfidence, report unavailability when status is not 'ready' — is about interpreting results, not about when to choose this tool.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources