Skip to main content
Glama
mh-zeynal

BitPin MCP Server

by mh-zeynal

bitpin_authenticate

Authenticates with the BitPin API using an API key and secret key to obtain JWT access and refresh tokens for authenticated trading and wallet operations.

Instructions

Authenticate with BitPin API using API Key and Secret Key to obtain JWT access and refresh tokens. IMPORTANT: BitPin API tokens are restricted to predefined IPs registered in their Token Manager; calling from any non-whitelisted IP will cause HTTP 403 Forbidden. Rate limit: 200/day. Resulting tokens are cached automatically for subsequent requests.

Input Schema

NameRequiredDescriptionDefault
api_keyNoBitPin API Key. If omitted, uses the BITPIN_API_KEY environment variable.
secret_keyNoBitPin Secret Key. If omitted, uses the BITPIN_SECRET_KEY environment variable.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the IP-whitelist constraint that produces HTTP 403 from non-whitelisted IPs, a rate limit of 200/day, and the automatic token caching side effect. These are precisely the preconditions and side effects an agent needs before invoking a credential-exchanging tool.

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?

Four tight sentences with zero repetition: purpose first, the critical IP restriction flagged with IMPORTANT, then rate limit and caching. Nothing is wasted and the safety-critical content is elevated rather than buried.

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?

For a 2-param credential tool with no output schema or annotations, it covers preconditions, quotas, and the caching side effect. The only real omission is not distinguishing itself from the token-management siblings (refresh_token, set_access_token), which would complete the picture.

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%, including the environment-variable fallback for both api_key and secret_key, so the schema already does the heavy lifting and the baseline of 3 applies. The description adds no parameter-level detail beyond what the schema states.

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: authenticate against the BitPin API using API Key/Secret to obtain JWT access and refresh tokens. It is clearly distinct from read-only siblings, though it never names bitpin_refresh_token or bitpin_set_access_token, which are the closest alternatives.

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?

Implies usage context (you need this to get tokens) and usefully notes that tokens are cached automatically for subsequent requests, which implicitly reduces the need to re-call. However, it gives no explicit guidance on when to use bitpin_authenticate versus bitpin_refresh_token or bitpin_set_access_token — exactly the routing decision an agent faces.

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