Skip to main content
Glama

add_shortcut

Create a custom short name for an OpenRouter model ID so you can reference models by memorable shortcuts instead of full IDs.

Instructions

Add a custom model shortcut for easier access

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": {
      "shortcut": "<shortcut>",
      "model_id": "<model_id>"
    },
    "name": "add_shortcut"
  }
}

Input Schema

NameRequiredDescriptionDefault
model_idYesFull OpenRouter model ID (e.g., 'openai/gpt-4o')
shortcutYesShort name for the model (e.g., 'codex', 'fast')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a write operation but says nothing about persistence, whether an existing shortcut with the same name is overwritten, case sensitivity, or what errors occur on conflict or invalid model_id — significant gaps for a mutation tool with zero annotation coverage.

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?

A single front-loaded sentence with no wasted words, appropriate for a two-parameter tool. It is efficient but arguably too terse to be fully informative.

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

Completeness3/5

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

For a simple two-parameter create tool with full schema coverage and no output schema, minimal description is defensible. Still, nothing explains overwrite/conflict behavior or the effect of creating a shortcut, which an agent would want before calling a mutation.

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% and the schema already provides format examples for both 'model_id' ('openai/gpt-4o') and 'shortcut' ('codex', 'fast'), so the description adds no parameter meaning beyond it. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb and resource ('Add a custom model shortcut'), which is clearly distinct from read-side siblings like list_models or get_config. It does not, however, clarify how a 'shortcut' differs from a 'favorite' or 'default model', leaving some ambiguity against add_favorite and set_default_model.

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

Usage Guidelines2/5

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

There is no guidance about when to create a shortcut versus favoriting a model or setting it as default, no prerequisites (e.g., whether an API key must be configured first), and no exclusions. The agent must infer the use case entirely.

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