Skip to main content
Glama

get_diff_report

Retrieve a stored diff report comparing Figma designs or screenshots against rendered implementation. Fetch the report in JSON or HTML format with inline content.

Instructions

Fetch a stored kiyas report by reportId. Defaults to JSON; pass format=html to fetch the rendered report. Returns the artifact path and (by default for JSON) inline content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
formatNoWhich artifact to return (default: json)
reportIdYesReport ID returned from a prior compare call
includeContentNoWhen true, return the raw file content inline. When false, return only the path. Default: true for json, false for html (HTML is large).
Behavior4/5

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

Without annotations, the description carries the full burden. It states the default behavior, what is returned (artifact path and inline content), and includes a note about HTML size. This provides adequate transparency for a retrieval tool.

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?

The description is two sentences with no wasted words. The main action is front-loaded, followed by specifics. Every sentence earns its place.

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?

Given no output schema, the description partially explains return values (artifact path and inline content) but lacks detail on the structure of the response. For a simple tool with 3 parameters, this is acceptable but not fully comprehensive.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value beyond the schema by explaining defaults (format defaults to json) and the conditional behavior of includeContent based on format, which is not in the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool fetches a stored kiyas report by reportId, with options for format and content inclusion. This distinguishes it from siblings 'compare' (which likely creates reports) and 'list_issues' (which lists issues).

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

Usage Guidelines4/5

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

The description provides clear context on when to use each format ('Defaults to JSON; pass format=html to fetch the rendered report') and notes that includeContent defaults differ by format. It does not explicitly exclude alternatives but the purpose is well-defined.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/saiffmirza/kiyas'

If you have feedback or need assistance with the MCP directory API, please join our Discord server