Skip to main content
Glama

Link to connect a model key

connect_model_key
Read-only

Returns a one-click link where the person connects their own OpenRouter account to bootkey (the key goes straight to bootkey and never passes through the chat), or where to paste a Venice key. An account needs a model key before an agent can boot.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "connect_model_key"
  }
}

Input Schema

NameRequiredDescriptionDefault
providerNoopenrouter

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-destructive read, so the bar is lower; the description still adds real behavioral context by noting the key 'goes straight to bootkey and never passes through the chat', which is a security property an agent cannot get from structured fields. It also discloses the asymmetric flow — link for OpenRouter versus manual paste for Venice — and that the output is a link to hand to a person. It does not say what happens if a key is already connected or whether the link expires.

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?

Two sentences, front-loaded with the returned artifact before the boot precondition. The parenthetical security note is dense but earns its place; minor awkwardness from packing two provider paths into one clause.

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 one-parameter, read-only tool with no output schema, the description covers what is returned (a link), the privacy behavior, and the prerequisite for booting an agent. Remaining gaps are edge cases (existing key, link lifetime) rather than anything blocking a correct call.

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 0% for the single 'provider' parameter, so the description must carry the meaning; it does name both providers and explains that each yields a different interaction (one-click link versus paste). However, it never ties that distinction explicitly to the parameter or mentions that openrouter is the default, leaving the agent to infer the mapping.

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?

States a concrete verb and result: 'Returns a one-click link' for connecting a model key, plus a second path (paste a Venice key). An agent can tell this is the credential-onboarding step rather than a model-selection or secret-writing tool. It stops short of naming a sibling like set_model or save_secrets to sharpen the boundary.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'An account needs a model key before an agent can boot' gives a clear precondition that implies when to call it. There is no explicit when-not guidance and no named alternative for the cases where a direct set_model or save_secrets call would be preferable, so usage is inferable rather than spelled out.

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