Skip to main content
Glama

Redeem Web2App Session

get_web2app_session
Destructive

Consume a Web2App routing session token. Each token is single-use and expires after 24 hours. Returns the routing decision (linkId, UTM params, country, routing rule applied). Use this to complete a deep-link handoff in your mobile app. Requires Pro or higher.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "token": "<token>"
    },
    "name": "get_web2app_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYes32-character hex token from the Web2App redirect

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Without the description an agent would only see destructiveHint=true, idempotentHint=false, and readOnlyHint=false with no explanation. The description supplies the reason: the token is single-use, expires after 24 hours, and consumption is a redemption rather than a read. It also discloses the plan requirement and the shape of the response, though it says nothing about what an expired or already-redeemed token returns.

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?

Four short sentences, front-loaded with the core action, followed by lifecycle constraints, return payload, usage context, and prerequisite. Nothing is padded, though the title's "Redeem" and the description's "Consume" are slightly redundant.

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?

There is no output schema, and the description compensates by enumerating the returned routing fields, plus the token lifecycle and plan gate. What remains unstated — error behavior on replay or expiry — is a minor gap for a single-parameter 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 coverage is 100% and the single token parameter is fully documented as a "32-character hex token from the Web2App redirect." The description adds no format, validation, or sourcing detail beyond that, so it earns the baseline rather than more.

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

Purpose4/5

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

"Consume a Web2App routing session token" gives a specific verb and resource, and the description goes further by naming the returned routing decision (linkId, UTM params, country, routing rule). It does not name or distinguish against any sibling, but the sibling list contains no near-neighbor for this operation, so ambiguity is low.

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?

"Use this to complete a deep-link handoff in your mobile app" states the calling context clearly, and "Requires Pro or higher" flags a prerequisite. There is no explicit when-not-to-use or failure-path guidance, which keeps it 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.

Resources