Skip to main content
Glama

Open in the editor

open_in_editor

Save the design to the account of the API key and return a link that opens it in the Pretty QR editor. Counts as one QR API request.

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": {
      "content": "<content>"
    },
    "name": "open_in_editor"
  }
}

Input Schema

NameRequiredDescriptionDefault
designNoDesign fields as in POST /api/v1/qr. Each top-level field replaces the template's. Without template or design the code is black on white.
contentYesText or URL to encode.
templateNoTemplate id from list_templates. Its design is the starting point.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / template / enum
      Previous value: -[
      -  "heart",
      -  "circle",
      -  "real-estate",
      -  "find-us",
      -  "cafe-menu",
      -  "speech-bubble",
      -  "banner",
      -  "shopping-bag",
      -  "instagram",
      -  "linkedin",
      -  "tiktok",
      -  "youtube",
      -  "twitter",
      -  "facebook",
      -  "classic",
      -  "modern",
      -  "warm",
      -  "nature",
      -  "elegant",
      -  "vibrant",
      -  "logo",
      -  "midnight-dots",
      -  "teal-rounded",
      -  "sunset-classy",
      -  "indigo-dots",
      -  "forest-classy",
      -  "amber-rounded"
      -]New value: +[
      +  "heart",
      +  "circle",
      +  "real-estate",
      +  "find-us",
      +  "cafe-menu",
      +  "speech-bubble",
      +  "banner",
      +  "shopping-bag",
      +  "instagram",
      +  "linkedin",
      +  "tiktok",
      +  "youtube",
      +  "twitter",
      +  "facebook",
      +  "classic",
      +  "modern",
      +  "warm",
      +  "nature",
      +  "elegant",
      +  "vibrant",
      +  "logo",
      +  "midnight-dots",
      +  "teal-rounded",
      +  "sunset-classy",
      +  "indigo-dots",
      +  "forest-classy",
      +  "amber-rounded",
      +  "aurora",
      +  "sunset-glow",
      +  "ocean-depth",
      +  "berry-burst",
      +  "citrus-fresh",
      +  "lagoon",
      +  "gradient-heart",
      +  "prism",
      +  "royal-gold",
      +  "espresso"
      +]
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses three non-obvious traits: the design is persisted to the account, the result is an editor link rather than the image itself, and the call counts against the QR API quota. It omits whether the save is permanent/deletable, whether the returned link expires, and whether it also creates a reusable QR record.

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?

Two short sentences, front-loaded with the core action and immediately followed by the billing cost. No filler or repetition.

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?

There is no output schema, and the description does explain what comes back (a link to the editor). For a tool with a deeply nested design object, the schema itself covers the parameters well; the only real gap is the relationship to create_qr_code and the lifetime of the saved design.

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 description coverage is 100%, so content, template and the nested design fields are already documented in the schema. The description only implicitly refers to 'the design' and adds no format or precedence guidance beyond what the schema states.

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 specific action pair: persist the design to the API key's account and return a link that opens it in the Pretty QR editor. That is more precise than the name alone, which could be misread as a pure UI action. It does not explicitly contrast with create_qr_code or list_templates, so sibling differentiation is left to inference.

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?

Use is implied by 'opens it in the Pretty QR editor' and by the template reference, but there is no explicit statement of when to pick this over create_qr_code or create_file_upload, nor any precondition (e.g. that a template id should come from list_templates first).

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