Skip to main content
Glama

zerocreds_create_session

Creates a one-time URL for users to enter passwords or API tokens directly into the secret store. Sensitive values never appear in the LLM context.

Instructions

Creates a ZeroCreds credential collection session. Returns a one-time URL for the user to enter their credentials — the values go directly to the secret store and NEVER appear in the LLM context. Use this whenever you need a password, API token, or any sensitive data from the user. After calling this, show the URL to the user, then poll zerocreds_check_status every 5–10 seconds until status is "done".

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": {
      "title": "<title>",
      "fields": "<fields>"
    },
    "name": "zerocreds_create_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleYesForm heading shown to the user (e.g. "Connect GitHub")
fieldsYesFields to collect from the user
descriptionNoOptional subtext / instructions on the form
destinationNoNamed destination (string, e.g. "os-keychain") or inline config object (e.g. {"type":"os_keychain","service":"zerocreds","account":"github"}). Omit to use ZEROCREDS_DEFAULT_DESTINATION env var. Recommended: "os-keychain" stores in macOS Keychain or Windows Credential Manager automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/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 so well: it discloses the security contract (values go directly to the secret store and never appear in LLM context), that the URL is one-time, and the required polling cadence. It stops short of stating session expiry/TTL or what happens if the user abandons the form, which an agent would want to know before looping indefinitely.

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 sentences ordered by importance: what it creates, what it returns and why that is safe, then exactly what to do next. Nothing is redundant with the schema and no sentence is filler.

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 4-parameter creation tool with no output schema, the description covers the return value (one-time URL) and the downstream workflow, which is the critical gap it needed to fill. The only omissions are failure/expiry behavior and confirmation that no credential data is ever returned to the agent beyond the URL, which are minor for a well-specified happy path.

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 framing: it explains that the fields collected via this form flow straight into the secret store rather than back to the agent, which clarifies why the agent supplies labels/types instead of values. No field-level syntax is added, and none is needed.

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 ('Creates a ZeroCreds credential collection session') and immediately names the artifact produced ('a one-time URL for the user to enter their credentials'). The workflow sentence referencing zerocreds_check_status makes it unambiguous which sibling handles the follow-up.

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?

Gives an explicit trigger condition ('Use this whenever you need a password, API token, or any sensitive data from the user') plus concrete post-call instructions: show the URL, then poll zerocreds_check_status every 5–10 seconds until status is 'done'. The alternative tool and the condition selecting it are both named.

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