Skip to main content
Glama
dwin-gharibi

ramzinex-mcp

by dwin-gharibi

ramzinex_authenticate

Authenticate a Ramzinex API instance and cache its bearer token for subsequent private calls, without exposing the token.

Instructions

Authenticate an instance and cache its bearer token (no token leaked).

Persian purpose: احراز هویت و دریافت توکن. Runs the api_key + secret getToken login flow (POST /exchange/api/{ver}/exchange/auth/api_key/getToken) and caches the resulting bearer token in memory for subsequent private calls. If the instance is configured with a pre-issued api_token instead, it simply reports success. The token value is NEVER returned.

Args: instance: Configured instance to authenticate (default when omitted).

Returns: {authenticated: true, instance, method} on success, where method is "api_token" or "api_key"; otherwise a structured error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instanceNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, description fully discloses behavior: caches token in memory, never returns token, uses POST endpoint, returns success/error structure. Does not mention side effects beyond caching, but adequate for non-destructive auth.

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?

Structure is clear: English summary, Persian purpose, then details, Args, Returns. Front-loaded main purpose. Persian adds length but may aid multilingual agents. Overall concise.

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?

Given single optional parameter and output schema mentioned in description, the description covers return shape and caching behavior. Lacks error detail but sufficient for simple auth tool.

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 0%, so description adds value by explaining 'instance' parameter and default. However, lacks cross-reference to list_instances or details on valid instance values.

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?

Description clearly states 'Authenticate an instance and cache its bearer token' with specific verb and resource. Includes Persian purpose for clarity. Sibling tools are all functional operations, making this the only authentication tool, so no confusion.

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 before private calls but does not explicitly state 'call this first' or provide alternatives. Describes two authentication methods (api_key vs api_token) but no exclusions or when-not-to-use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/dwin-gharibi/ramzinex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server