Skip to main content
Glama

End-user identities

identities
Destructive

In a shared project (switch_project), each of your product's end users is an identity (idn_…): their logins for many sites (several accounts a site), signed-in sessions, residential IP and device, kept by pilotfish and never handed out. Run a task as one with browser_task's identity. list (external_user_id or query to find), create (external_user_id: your own user id; country, device_os, email for sign-ups, save_logins: keep sign-ins its tasks type), get (its logins by credential id, masked, signed-in sites, cost so far), update, delete (wipes its logins and sessions; its tasks' costs stay), login_link (a one-time page for the end user to type their own login: pass it to them, never ask for a password in chat), set_default / delete_login (by credential).

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": {
      "action": "<action>"
    },
    "name": "identities"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoThe identity (all but list and create).
emailNo
labelNo
queryNo
sitesNologin_link: the sites to save logins for.
actionYes
accountNologin_link: which account the login is saved as (several on one site).
countryNo
device_osNo
credentialNoset_default / delete_login.
save_loginsNo
webhook_urlNologin_link: your https endpoint, told (identity.login_saved, signed) as each site's login is saved.
external_user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / webhook_url
      Added value: +{
      +  "description": "login_link: your https endpoint, told (identity.login_saved, signed) as each site's login is saved.",
      +  "format": "uri",
      +  "maxLength": 2000,
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=false, and the description adds real substance on top: delete 'wipes its logins and sessions; its tasks' costs stay' (precise destruction scope and a non-obvious side effect), get returns masked logins by credential id plus cost so far, and credentials are 'kept by pilotfish and never handed out'. It also discloses the login_link safety constraint about not soliciting passwords in chat.

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?

The concept and the 'never ask for a password in chat' constraint are front-loaded, and the dense parenthetical action map packs eight actions into a short block with little filler. It reads as a semicolon-chained run-on, which costs some parseability, but nothing is 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?

For an eight-action, 13-parameter tool with no output schema, the description covers the risky and non-obvious paths (delete semantics, login_link flow, masked credential reads, cost tracking). The notable omission is 'update' — it is named but never says which fields can change or what happens to existing logins — and there is no statement of return shape for list or create.

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 description coverage is only 38%, so the description must compensate, and it largely does: it explains external_user_id as 'your own user id', query for lookup, country/device_os/email for sign-ups, save_logins for persisting sign-ins across the identity's tasks, and credential for set_default/delete_login. Remaining gaps are label and update's mutable field set, which neither the schema nor the description clarifies.

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?

The description opens with a concrete definition of the resource ('each of your product's end users is an identity (idn_…)') and then enumerates every action the tool supports (list, create, get, update, delete, login_link, set_default, delete_login) with a specific verb-object gloss for each. It also distinguishes the resource from the related browser_task 'identity' parameter and from the shared-project context of switch_project, so an agent can tell what this tool owns.

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?

Usage is routed per action: list is for finding via external_user_id or query, login_link is for handing a one-time page to the end user and explicitly 'never ask for a password in chat', and browser_task's identity is named as the way to run a task as an identity. What is missing is explicit when-not guidance against the sibling surface (e.g., list_logins, manage_login), so the agent must infer boundaries there.

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.