Skip to main content
Glama
tokportal

tokportal-mcp

Official
by tokportal

tokportal_retrieve_account_verification_code

Retrieve the latest verification code for a saved account, enforcing policy-based credit costs and acceptance requirements before revealing the code.

Instructions

Retrieve latest account verification code. Retrieving a verification code is the same irreversible first-access event as revealing credentials. Its policy is determined by this saved account's created_at timestamp against the immutable managed_pricing_new_customer_cutover_at value, never by the workspace action-pricing cohort or August 14 grace deadline. A saved account created before the cutoff permanently keeps the prior API contract: 0 credits, no new versioned acknowledgment body required, no TokPortal detachment, existing task access remains available, and support plus ban coverage end after access. A saved account created at or after the cutoff follows the managed policy: normally 150 credits, or the stored $10 legacy / $15 new per-30-day rate when Account Owning is already admin-approved. Managed access permanently detaches the account, makes it read-only, and ends TokPortal Coverage, task access, analytics updates, support, ban protection, replacement, refunds, compensation and credit restoration. For a new-policy account, missing explicit acceptance fails with 428 and returns the exact account-specific terms, price and policy version. A changed quote returns 409 before any debit or reveal. Reaching the Account Owning eligibility threshold only submits an admin review request; it never activates the agreement automatically. While approval is pending, reveal remains available for 150 credits on a post-cutoff account. Do not send Idempotency-Key: this response contains a verification secret and is never stored in the replay ledger. A request that includes the header is rejected before any ledger claim, reveal, debit, or inbox access with IDEMPOTENCY_KEY_NOT_ALLOWED_FOR_SENSITIVE_RESPONSE (400). After an uncertain transport result, fetch the safe account state before deciding whether to call this endpoint again without the header.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesSaved account ID.
bodyNoJSON request body.
Behavior4/5

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

The description extensively discloses behavioral traits beyond annotations: the irreversible nature, policy determination logic, credit costs, response error codes (428, 409), idempotency rejection, and long-term account effects (read-only, detach, end of support). Annotations only state non-readOnly, non-idempotent; the description fills in critical details. Score 4 because it is very comprehensive but could briefly mention the response format.

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?

The description is very dense and contains important details, but it is quite long and lacks clear section breaks (e.g., between policy explanation, error handling, and idempotency note). Every sentence earns its place, but structuring would improve scannability. Score 3 for being content-rich but structurally dense.

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 the complexity (nested required body, policy-based behavior, multiple error paths) and the absence of an output schema, the description is remarkably complete. It covers all key behavioral outcomes and error scenarios. Score 4 because a brief note on the expected success response content (e.g., verification code format) would be helpful.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so baseline is 3. The description adds significant value by explaining the purpose of parameters in context of policy negotiation (e.g., policy_version used to detect stale quotes, acknowledge_support_forfeit acceptance). It also clarifies when body fields are required vs ignored. Score 4 because it enriches understanding well beyond schema.

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?

The description clearly states the tool retrieves the latest account verification code and distinguishes it from the similar sibling `tokportal_reveal_account_credentials` by explaining it is equivalent to revealing credentials. The specific verb 'retrieve' and resource 'latest account verification code' are well-defined.

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

Usage Guidelines5/5

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

The description provides explicit when-to-use guidance by detailing the two policy scenarios (pre-cutoff vs post-cutoff) and the associated credit costs and behaviors. It also explicitly instructs not to send Idempotency-Key, explaining consequences. This clearly differentiates from siblings and advises on when not to call.

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/tokportal/langchain-tokportal'

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