Skip to main content
Glama
Portward

Portward

by hamzaelsiesy

share_sign_in

Confirm a user's email for sharing once per device by having them enter a one-time code privately and recording the display name shown to recipients, so the code never appears in chat.

Instructions

Confirm the user's email for sharing, once per device: Portward emails them a code, and the user types it where you can't see it (never ask for it in the chat). name is how they're shown to the people they share with. Only call this when the user wants to share and gives their own email.

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": {
      "email": "<email>",
      "name": "<name>"
    },
    "name": "share_sign_in"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
emailYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations at all, the description carries the full behavioral burden, and it does disclose the important mechanics: an emailed code, user-side entry the agent cannot see, once-per-device scope, and a hard rule against soliciting the code. What it omits is what the call returns and what state exists afterward (how the agent knows verification succeeded, whether the call is repeatable after expiry). Useful but not complete disclosure for an auth-flow tool.

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?

Three short sentences, front-loaded with the purpose before the mechanics, and each clause carries distinct information: the flow, the name semantics, and the call precondition. Nothing is redundant with the schema or restated from the title.

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 two-parameter, no-output-schema tool with zero annotation coverage, the description supplies the flow, both parameter meanings, and the safety guardrail, which is close to sufficient. The missing piece is post-call expectation: what the agent should do or report while the user is entering the code elsewhere, and what a successful call yields.

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 0%, so the description must do the work, and it does: `name` is defined as the display name shown to share recipients, and `email` is constrained to the user's own address rather than a third party's. It adds no format guidance for the email value, but between the two documented fields the coverage gap is largely closed.

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 gives a concrete verb and resource: confirm the user's email for sharing, once per device, via an emailed code the user enters out-of-band. That is far more specific than the bare name share_sign_in, and the 'once per device' scoping hints at how it differs from the account-level siblings. It stops short of naming the alternative it is not (e.g. account_sign_in or share_confirm), so it does not reach a 5.

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 an explicit gate: only call when the user wants to share and supplies their own email, plus an explicit prohibition against asking for the code in chat. That is real when/when-not guidance rather than an implied context. It never routes the agent to a specific alternative tool for the cases it excludes, which keeps it at a 4.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.