Skip to main content
Glama

Refresh Medium stats

refresh_medium_stats
Destructive

Sync the writer's Medium stats from Medium and store them, then return them in the same shape as get_platform_analytics for MEDIUM. Use when get_platform_analytics reports no stored Medium stats, or the writer asks for fresh numbers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
recentLimitNoHow many recent posts to include. Default 10.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
handleNo
reasonNo
sourceNo
totalsNo
messageNo
profileNo
summaryNo
platformYes
usernameNo
verifiedNo
benchmarkNo
connectedYes
fetchedAtNo
followersNo
followingNo
readinessNo
growthDataNo
tweetCountNo
cachedStatsNoA JSON value stored by Narrareach.
displayNameNo
publicationNo
recentNotesNo
recentPostsNo
statsCachedAtNo
engagementDataNo
profilePictureNo
connectedAccountNo
verifiedFollowersNo
analyticsAvailableNo
needsExtensionSyncNo
postAnalyticsAvailableNo
profileAnalyticsAvailableNo
officialAnalyticsAvailableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations declare this is a non-readOnly, destructive, openWorld operation. The description discloses that it syncs/stores data from an external system, which aligns with openWorldHint and the destructive/write nature. It doesn't detail the exact effects of storing (overwrite vs merge) beyond 'store them', so a small gap remains.

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?

Two sentences, front-loaded with the operation and immediately followed by the usage condition. No wasted words.

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 an output schema present and a single well-described parameter, the description covers the essential 'what' and 'when'. However, it omits behavioral details like whether syncing overwrites existing stats or whether it may fail under certain conditions, which could matter for a destructive operation.

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 the parameter is fully documented in the schema. The description adds no additional parameter semantics beyond what the schema provides, fitting the baseline 3.

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: 'Sync the writer's Medium stats from Medium and store them, then return them.' It also distinguishes itself from the sibling get_platform_analytics by clarifying that it fetches fresh data rather than reading stored data.

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?

Explicitly names the condition for use: 'when get_platform_analytics reports no stored Medium stats, or the writer asks for fresh numbers.' This routes the agent correctly against the sibling read 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