Skip to main content
Glama
OpenFigma MCP

OpenFigma MCP

by Shivam990q

ai_omni_route

Dispatches design prompts through a multi-provider fallback router to keep generation working when a model fails, with token compression to reduce context size.

Instructions

Dispatches a design prompt through the multi-provider 3-tier fallback router (Claude, OpenAI, Gemini, DeepSeek, Groq, Ollama) with RTK token compression.

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": "ai_omni_route"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesDesign or codegen prompt
preferredModelNoPreferred model name to attempt first

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.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 carries the behavioral burden and does disclose meaningful traits: a 3-tier fallback across six named providers and "RTK token compression," which implies retry/failover and prompt truncation. It omits cost/latency implications, whether compression is lossy, and what the dispatch returns.

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 well-formed sentence with the action front-loaded and the provider/mechanism detail trailing. Nothing is redundant, though "RTK" is left as unexplained jargon.

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 2-parameter tool with no annotations and no output schema, the description covers the mechanism but says nothing about the response (text? code?) or what happens when preferredModel is unavailable. It is adequate to invoke but leaves real gaps in what to expect back.

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 both parameters are already documented and baseline 3 applies. The description only reinforces provider routing via the parenthetical list; it adds no format, constraint, or fallback semantics for preferredModel beyond the schema's "attempt first."

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?

"Dispatches a design prompt" gives a specific verb+resource, and the parenthetical provider list plus "3-tier fallback router" makes the mechanism concrete. It is not fully differentiated from siblings like generate_code, but an agent can tell this is the multi-provider routing entry point rather than a canvas or checkpoint operation.

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?

The description never states when to choose this tool over generate_code or other codegen siblings, nor any prerequisites or exclusions. Usage is only inferable from the phrase "design prompt," leaving the agent to guess at routing intent.

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