Skip to main content
Glama

Set the Cursor key for Autofix

colliedesk_cursor_key_set

Set the workspace's Cursor API key, which fixes sent to Cursor use. The key is tried with Cursor before it is kept, sealed on the server and never shown again, not one character. It passes through this conversation, so use a key you can revoke at Cursor; a service account key is advised, as a user key acts with all of its owner's rights.

Needs: autofix_settings:manage_credentials.

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": {
      "key": "<key>"
    },
    "name": "colliedesk_cursor_key_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes

Output Schema

NameRequiredDescriptionDefault
coding_agentYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: the key is validated against Cursor before being kept, sealed server-side and never re-displayed, and the description warns that the key traverses the conversation and recommends a revocable service-account key. It also states the required permission scope.

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?

Front-loads the action, then security/validation notes, then a separate 'Needs:' permission line. Dense but every sentence earns its place; the 'not one character' phrasing is slightly awkward but conveys the irreversible-hiding behavior.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations, an output schema, and a single parameter, the only things an agent needs to know are what the key is, what happens to it, what will be exposed, and what permission is required — all of which are covered.

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% and the schema only constrains length, so the description carries the load: it explains the parameter is a Cursor API key, that it is validated, that it will be exposed in transit, and that user keys inherit the owner's rights. The 8-500 length bounds are still only in the schema.

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 ('Set the workspace's Cursor API key') plus the downstream effect ('fixes sent to Cursor use'), which distinguishes it from colliedesk_cursor_key_remove and the ai_provider_key_set sibling.

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?

It implies when to use it (configuring Autofix's Cursor credential) and gives key-selection advice, but never explicitly contrasts with the remove tool or other provider-key tools, and gives no when-not guidance.

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