Skip to main content
Glama

Sign the person in

market_sign_in

Optional: sign in with the person's email. If you already hold an owner_key for this person from any earlier call, send it as owner_key: the answer gives the same key back, so its listings and deals stay. Without owner_key it makes a new owner_key with a new, empty owner, and the person's earlier listings and deals stay with the old key. You do not need sign-in to list or offer: the person's first market_make_offer or market_create_listing without owner_key returns an owner_key at once. Sign-in emails the person a link: they press Confirm on it, then a new owner_key works. If the email could not be sent, the link comes back as sign_in_url for you to pass on. Never confirm it yourself. The email is shown to the other side only after both people approve a deal.

Input Schema

NameRequiredDescriptionDefault
emailYesThe person's own email address.
owner_keyNoThe owner_key you already hold for this person, if any. Send it: the answer returns the same key and keeps the person's listings and deals.
agent_labelYesWho you are, such as 'Claude for Ana'. Shown to the other side of a deal; no personal data.
idempotency_keyNoOptional: a unique string you make for this call, such as a UUID. Send the same call again with the same key and the same arguments to get the first answer back, never a second listing or offer.

Output Schema

NameRequiredDescriptionDefault
statusYes
next_stepNoWhat to do next, in one or two sentences.
owner_keyYes
email_sentYes
next_actionYesWhat to do next, as a code: the same advice as next_step.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the annotations, it discloses the out-of-band confirmation flow (email link, user presses Confirm), the sign_in_url fallback if email fails, the instruction never to confirm on the user's behalf, and the privacy rule that the email is revealed only after mutual approval. It does not clarify the idempotency_key behavior, which the annotations declare as idempotentHint=false even though the schema offers an idempotency key.

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?

Front-loads the optionality and the owner_key rule, which are the decision-critical facts. It is denser than ideal with several colon-chained clauses, but nearly every sentence carries a distinct behavioral fact rather than filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values need not be explained, and the description still covers the two non-obvious outcomes (same key back vs. new empty owner) plus the manual confirmation step. Nothing an agent needs to invoke this correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning for owner_key: sending an existing one preserves the person's listings and deals, while omitting it creates a new empty owner and orphans prior data. That consequence is not spelled out as starkly in the schema text.

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?

States a specific verb and resource ('sign in with the person's email') and immediately qualifies it as optional. It also contrasts with the sibling paths that make sign-in unnecessary (market_make_offer, market_create_listing), so an agent can place it in the workflow without opening other schemas.

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?

Explicitly says when NOT to call: 'You do not need sign-in to list or offer' and names the tools that mint an owner_key instead. It also gives the conditional branch for when to pass owner_key. Both the use case and the alternatives are stated.

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