Skip to main content
Glama

lounge_link_submit

Step 2, called by the AGENT with its wallet token (from wallet_login): sends the holder's signed link. The Worker checks the signature and that the holder owns the companion on chain, then links her to this agent. The link ends if she is sold.

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>",
      "companion": "<companion>",
      "owner": "<owner>",
      "nonce": "<nonce>",
      "signature": "<signature>"
    },
    "name": "lounge_link_submit"
  }
}

Input Schema

NameRequiredDescriptionDefault
nonceYesThe nonce from the matching *_prepare tool.
ownerYesThe holder's 0x wallet (the one that owns her on chain).
tokenYesThe agent's wallet token from wallet_login.
companionYesThe companion's token id (a whole number).
signatureYespersonal_sign of the exact `message` from the prepare tool, by the holder's wallet.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses server-side validation (signature check plus on-chain ownership verification) and the lifecycle consequence that the link is severed if the companion is sold. It does not describe the response, error conditions, or cost, which keeps it from a 5.

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 step number and caller identity, with no filler. The clause 'called by the AGENT' is slightly redundant with 'from wallet_login' but reinforces an important caller constraint.

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?

For a five-parameter write-style tool with no annotations and no output schema, the description covers the actor, the precondition chain, the verification performed, and the lasting effect. It leaves failure modes and return behavior unstated, which is a modest gap.

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 all five parameters are already documented in the schema, and the description adds only the provenance of the token (wallet_login) at a high level. The baseline of 3 applies since the schema does the heavy lifting.

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?

The description names a concrete action (sends the holder's signed link) and an explicit outcome (links her to this agent), and labels itself 'Step 2', which positions it relative to the prepare/login siblings. It stops short of naming the counterpart tool directly in the description, leaving that inference to the schema's 'matching *_prepare tool' note.

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 states the precondition chain clearly: the AGENT calls it with the wallet token obtained from wallet_login, after a prepare step, and with the holder's signature. It does not state what to do on failure or when this should be skipped, so no explicit exclusions are given.

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