Skip to main content
Glama

text-em-all

Get a user authorization token

get_authorization_token
Read-only

Exchange a Text-Em-All account username + PIN/password for that user's authorization token (the value you set as TEXTEMALL_AUTH_TOKEN). Text-Em-All API: POST /v1/user/login. Signed with your App/Secret key only (no user token yet). Returns { AuthToken }. Use this once to bootstrap; store the token in config thereafter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
passwordYesThe Text-Em-All website login PIN/password. Required.
usernameYesThe Text-Em-All website login username. Required.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint annotation, it discloses authentication mechanics that matter: signed with the App/Secret key only, no user token required yet, and the POST endpoint. This is useful operational context the annotations don't carry, though it omits failure modes (invalid credentials) and token expiry.

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?

It is dense but front-loaded: the what, the how-to-call, the return value, and the lifecycle advice arrive in a logical order. Every clause conveys something useful, though the parenthetical about TEXTEMALL_AUTH_TOKEN is slightly redundant with the conceptual mapping.

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

Completeness5/5

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

Without an output schema, the description compensates by naming the return shape ({ AuthToken }), and it covers auth requirements, endpoint, and usage cadence. An agent has everything needed to call this correctly and know what to do with the result.

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 two parameters are already documented as required. The description restates 'username + PIN/password' but adds no format or constraint detail beyond the schema, so the baseline of 3 applies.

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 precise verb and resource: exchanging account credentials for an authorization token, and identifies it as the bootstrap credential step. It distinguishes itself from resource-oriented siblings like get_account and textemall_request by naming the exact endpoint POST /v1/user/login and the returned value.

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?

Gives clear lifecycle guidance: 'Use this once to bootstrap; store the token in config thereafter,' which tells the agent this is not a per-call tool. It does not explicitly name a sibling alternative, so it stops short of a 5.

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.