Skip to main content
Glama

TESI Agent API (1–8 vCPU Linux + Chrome)

tesi_claim_key

Idempotent

Create or redeem a reusable tesi_ak_... bearer key from a free $2.50 no-card trial (trial: true), completed Stripe sessionId, or giftCode, and auto-bind the current Mcp-Session-Id for 24h. Returns JSON with apiKey, keyId, funding source, creditCents, and sessionAuthenticated flag. Example: {"trial": true, "label": "my-agent"}.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "tesi_claim_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional human-readable label for the minted bearer key.
trialNoSet true to mint a free $2.50 USD trial key with no credit card (1 per subnet per 30 days).
previewNoSet true with trial or giftCode to check eligibility/credit amount without claiming.
giftCodeNoIssued promotional gift code to preview or redeem without a card.
sessionIdNoCompleted Stripe Checkout session ID (cs_live_...) from tesi_prepare_purchase.
purchaseIdNoMatching 64-hex purchaseId passed to tesi_prepare_purchase for idempotent recovery.

Output Schema

NameRequiredDescriptionDefault
keyIdNo
apiKeyNo
statusNo
fundingNo
eligibleNo
remoteMcpUrlNo
sessionAuthenticatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and openWorldHint=true; the description adds value beyond them by disclosing the 24h session auto-binding side effect and the returned fields (apiKey, keyId, funding source, creditCents, sessionAuthenticated). It does not explain whether an existing key is invalidated or rotated on re-claim, which is the main remaining behavioral gap.

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?

The purpose and return contract are front-loaded and the example is compact and useful. The opening sentence is heavily clause-stacked (three acquisition modes plus binding plus return shape in one breath), which slightly hurts scannability but wastes no words.

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 a rich schema, an output schema, and annotations, the description covers acquisition paths, the binding side effect, and result fields, which is enough to call it correctly. It leaves out edge behavior on repeat claims (rotation of an existing key, whether credit is re-issued) and does not relate the tool to tesi_balance/tesi_usage for post-claim verification.

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 coverage is 100%, so the schema already documents all six parameters, including the preview/trial combination and the 1-per-subnet-per-30-days limit. The description's worked example ({"trial": true, "label": "my-agent"}) illustrates a minimal valid combination but adds little semantic depth beyond the 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 opens with a specific verb+resource ("Create or redeem a reusable tesi_ak_... bearer key") and enumerates the three acquisition paths (trial, Stripe sessionId, giftCode), plus the side effect of binding the Mcp-Session-Id for 24h. An agent can tell this apart from tesi_prepare_purchase, which is named as the upstream producer of sessionId.

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?

It clearly frames when each path applies (free trial vs. completed Stripe session vs. gift code) and points to tesi_prepare_purchase as the source of sessionId, plus the preview flag for eligibility checks without claiming. It stops short of explicit exclusions, e.g. when to prefer tesi_balance or tesi_usage instead of claiming a key, so it is strong but not a full when/when-not/alternatives statement.

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.

Resources