Skip to main content
Glama
mh-zeynal

BitPin MCP Server

by mh-zeynal

bitpin_refresh_token

Refreshes an expired BitPin JWT access token using a refresh token to restore authenticated API access.

Instructions

Refreshes an expired BitPin JWT access token using a refresh token. Rate limit: 200/day.

Input Schema

NameRequiredDescriptionDefault
refresh_tokenNoThe refresh token. If omitted, uses the cached or BITPIN_REFRESH_TOKEN environment variable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and it does volunteer a concrete operational constraint (200 requests/day) and the token source. However, it says nothing about whether the new token is cached, returned in the response, or how failures behave — meaningful gaps for an auth-mutation tool with no output schema.

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 short sentences, no filler. The purpose is front-loaded and the rate limit appended as a compact constraint.

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

Completeness3/5

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

For a one-parameter tool this is close to sufficient, but with no annotations and no output schema the description should say what the caller gets back — a new access token, a cached-token side effect, or an error mode — and it does not.

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% and the single optional parameter's fallback behavior (cached value or BITPIN_REFRESH_TOKEN) is fully documented in the schema. The description adds no parameter meaning beyond that, so the baseline of 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?

States a specific verb and resource ('Refreshes an expired BitPin JWT access token') with the mechanism ('using a refresh token'). It is distinguishable from bitpin_authenticate by implication, but the description never names that sibling or contrasts the two explicitly.

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

Usage Guidelines4/5

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

The word 'expired' establishes the trigger condition clearly: call this when the access token has lapsed. It stops short of naming alternatives like bitpin_authenticate or bitpin_set_access_token, so the agent must infer the boundary from sibling names alone.

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