Skip to main content
Glama

prepare_icon_context

Prepares structured prompts and context for AI icon generation, using style presets and reference files to guide consistent SVG icon output.

Instructions

Prepares expert prompt and context for AI icon generation. Returns structured generation instructions.

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": {
      "prompt": "<prompt>"
    },
    "name": "prepare_icon_context"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNoOptional style preset for consistent icon generation (e.g., "black-white-flat")
promptYesText description of the desired icon
reference_pathsNoOptional array of PNG or SVG file paths to use as references

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description must carry behavioral disclosure. It does add real value by saying the tool returns structured generation instructions, which sets the expectation that no image is produced here, but it says nothing about whether it validates reference paths, costs model credits, mutates any state, or requires permissions.

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 short sentences, front-loaded with the action and followed by the return nature. The second sentence is mildly redundant with the first but earns its place by clarifying the output form.

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 three-parameter tool with no output schema, the description covers the core action and the shape of the result. It is still thin on the handoff to save_icon and on what the returned instructions actually contain, leaving the agent to discover workflow order by trial.

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%, so prompt, style, and reference_paths are already documented in the input schema. The description adds no further semantics such as style preset availability or reference file constraints, so the baseline 3 applies.

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 verb and resource: prepares expert prompt/context for AI icon generation, and clarifies the deliverable is structured generation instructions rather than a rendered icon. It does not differentiate itself from the sibling save_icon, so an agent must infer the prepare-vs-save split on its own.

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 explicit statement of when to call this versus save_icon, no prerequisite or ordering guidance, and no exclusions. The phrase 'for AI icon generation' hints at a precursor role, but that is inference rather than instruction.

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

Deploy Server

Other Tools