Skip to main content
Glama

Join a deal you were invited to

mm_join_deal

Use the invite the other side sent you (the k= part of their link, starting inv_) once. Returns your own private token for every other tool; the other side never sees it. Keep it.

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": {
      "deal_id": "<deal_id>",
      "invite": "<invite>"
    },
    "name": "mm_join_deal"
  }
}

Input Schema

NameRequiredDescriptionDefault
inviteYesThe invite from the link you were sent (?k=inv_...)
deal_idYesDeal ID, like D-7KQ2M9AB

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.4/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 behavioral burden. It does disclose valuable traits — single-use consumption, that it mints a private token used by every other tool, and that the counterparty never sees the token — but it omits failure behavior (invalid/used/expired invite), idempotency, and whether the token is scoped or expires.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action, followed by the return value and a retention instruction. No redundant wording or repetition of schema fields.

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 correctly explains the returned artifact and why it matters (private token used by all other tools, keep it). For a simple two-required-parameter onboarding tool that is largely sufficient, with only error/edge-case behavior left uncovered.

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 both parameters (invite, deal_id) are already documented in the schema, including the inv_ and D- format examples. The description adds only the framing that the invite originates from the counterparty's link; no extra format or validation detail beyond the schema.

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 states a specific action (redeem the invite the counterparty sent, once) and its concrete outcome (a private per-party token for all other tools). It is clearly distinguishable from siblings like mm_accept_terms or mm_get_deal because it is the invite-redemption/onboarding step, though the verb 'join a deal' itself only lives in the title.

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

Usage Guidelines3/5

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

"Use the invite ... once" gives a clear usage constraint and implies the trigger condition (you were invited and hold an inv_ link). However it names no alternative path for the uninvited case and gives no guidance on what to do if the invite is expired or already consumed.

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