Skip to main content
Glama

user_promo_apply_by_code_get

Apply a promotional code to a user account to activate offers or credits, with optional pagination and admin acting on a user's behalf.

Instructions

GET /promo/apply/{code} Применить промокод Тег: Промокоды Спека: user

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
codeYespath параметр "code"
limitNoМакс. кол-во записей
offsetNoСмещение (пропуск записей)
user_idNoadmin acts on behalf of this user

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.5/5.0
Behavior2/5

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

With no annotations, the description carries the full burden, yet it discloses nothing about side effects, idempotency, auth requirements, or whether redeeming a code is one-shot. 'Применить промокод' implies a state-changing redemption while the exposed verb is GET, and that tension is never resolved.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short, but the space is spent on raw path, tag, and spec-name boilerplate rather than on actionable content. The one meaningful clause is buried mid-line after the URL.

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?

There is no output schema and no annotations, so the description must explain the redemption result and side effects, and it does neither. It also omits the admin-impersonation behavior implied by user_id, leaving an agent unable to call this safely.

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%, so the code/limit/offset/user_id parameters are already documented in the schema. The description adds nothing about the code format or the admin impersonation semantics of user_id, so this is the baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The Russian phrase 'Применить промокод' (apply a promo code) plus the raw path 'GET /promo/apply/{code}' conveys a verb and resource, so the intent is decipherable. However it gives no scope or differentiation from siblings like user_promo_get, and the '_get' suffix collides with what is an action endpoint, leaving the agent to infer whether this reads or applies a code.

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?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as user_promo_get. The 'Тег: Промокоды / Спека: user' lines are generator metadata, not usage direction.

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