Skip to main content
Glama

keychain_secure_connect

Securely connect a platform credential without exposing the key. Checks environment variables first; if missing, opens a local secure input page. Requires two calls to complete.

Instructions

Securely connect a platform credential without exposing the key in chat. Checks environment variables first; if not found, opens a localhost secure input page for the user to paste their key. Call once to get the URL, then call again after the user submits to complete the connection.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
platformYesPlatform ID: github, stripe, openai, vercel, cloudflare, etc.
labelNoOptional label to distinguish multiple credentials for the same platform (default: 'default').
setup_urlNoOptional URL to the platform's API key settings page, shown on the input page.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the two-step flow, env var checking, and localhost page. Does not mention error handling or edge cases, but for a credential connection tool, it is fairly transparent.

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, front-loaded with the main purpose. No wasted words; efficient and clear.

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?

Given no output schema, description explains the two-step process and what to expect (URL from first call). Missing details on second call return value and edge cases (e.g., env var already set), but sufficiently complete for the agent to execute the flow.

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% (all 3 parameters documented). Description adds minor context: 'setup_url is shown on the input page.' This slight addition justifies above baseline of 3.

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 clearly states the tool's purpose: securely connecting a platform credential without exposing the key. It distinguishes from siblings like keychain_connect by describing the two-step process involving env variables and a localhost page.

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?

Provides explicit guidance on the two-call pattern: 'Call once to get the URL, then call again after the user submits to complete the connection.' Does not explicitly mention when not to use or alternatives, but the guidance is clear enough for typical use.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/malamutemayhem/unclick'

If you have feedback or need assistance with the MCP directory API, please join our Discord server