Skip to main content
Glama
YangLiangwei

PersonalizationMCP

by YangLiangwei

auto_refresh_reddit_token_if_needed

Refresh your Reddit access token when it nears expiration to prevent API authentication failures and maintain uninterrupted access.

Instructions

Auto check and refresh Reddit access token if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
random_stringNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are present, so the description carries the full behavioral disclosure burden. It only says it may refresh 'if needed,' without revealing side effects such as network calls, token storage updates, potential credential failures, or whether it is safe to call repeatedly.

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?

The description is a single, front-loaded sentence with no filler words. It is concise but sacrifices behavioral and usage detail; still, as a standalone sentence it is well-structured and easy to parse.

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?

For a mutation-like token refresh tool with no annotations assets, the description is incomplete. It does not explain when the agent should invoke it, what triggers a refresh, what happens on failure, or how the `random_string` parameter should be handled.

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

Parameters1/5

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

The input schema has one parameter (`random_string`) with 0% description coveragevie, and the description does not mention it at all. An agent cannot tell whether this parameter is meaningful, a cache-buster, or simply a dummy placeholder, so the description adds no semantic value beyond the schema.

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?

The description states the action ('auto check and refresh') and the resource ('Reddit access token') with a clear conditional ('if needed'). This distinguishes it from the unconditional sibling `refresh_reddit_token` and from status-only tools like `get_reddit_token_status`.

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?

The description does not explain when to call this tool versus alternatives such as `refresh_reddit_token` or `get_reddit_token_status`. It implies maintenance of token validity, but provides no explicit guidance about prerequisites, forced refresh, or calling it before Reddit API operations.

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

Deploy Server

Other Tools