Skip to main content
Glama
Figma Canvas MCP

Figma Canvas MCP

by AmroJSawan

figma_get_console_logs

Retrieve console logs from Figma Desktop to debug plugin output, filtering recent entries by log level, count, or timestamp.

Instructions

Retrieve console logs from Figma Desktop. FOR PLUGIN DEVELOPERS: This works immediately - no navigation needed! Just check logs, run your plugin in Figma Desktop, check logs again. All plugin logs ([Main], [Swapper], etc.) appear instantly.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "figma_get_console_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of recent logs to retrieve
levelNoFilter by log levelall
sinceNoOnly logs after this timestamp (Unix ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.17.3

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose useful behavior such as logs appearing immediately and the [Main]/[Swapper] source-prefix format. It omits other behaviors that matter for a log reader: ordering, buffer limits/retention, and whether reads are destructive or clear the buffer.

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 core action, with no filler sentences. The enthusiastic phrasing ("This works immediately - no navigation needed!") is slightly chatty but still conveys a real behavioral fact.

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 read tool with a fully described schema and no output schema, the description covers enough to invoke it correctly. However, with no output schema the agent gets no explanation of what a log entry looks like (fields, timestamp format, ordering), which is a real gap for a retrieval tool.

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?

All three parameters (count, level, since) are fully documented in the schema at 100% coverage, so the schema already does the work. The description adds no meaning about filtering semantics, default window, or timestamp granularity 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?

"Retrieve console logs from Figma Desktop" names a specific verb and resource, and the plugin-developer framing makes the domain of use concrete. It does not explicitly contrast itself with figma_watch_console or figma_clear_console, so the agent must infer the distinction from siblings.

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?

The description gives an implied workflow (check logs, run plugin, check logs again) and scopes the audience to plugin developers, which is helpful context. It never states when to prefer this over the polling/streaming alternative figma_watch_console or when to clear with figma_clear_console, so alternatives are left to inference.

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