Skip to main content
Glama

Get variant

layerre_get_variant
Read-onlyIdempotent

Get detailed information about a specific variant. Signed URLs are automatically refreshed if expired.

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": {
      "template_id": "<template_id>",
      "variant_id": "<variant_id>"
    },
    "name": "layerre_get_variant"
  }
}

Input Schema

NameRequiredDescriptionDefault
variant_idYesThe UUID of the variant to retrieve
template_idYesThe UUID of the template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint, so the safety profile is covered. The description adds genuine value beyond that by disclosing that signed URLs in the response are automatically refreshed when expired — a side effect an agent would otherwise not expect from a read.

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, zero filler, with the core purpose front-loaded and the signed-URL caveat in the natural secondary position. Nothing is redundant with the title.

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?

With no output schema, the description carries the burden of explaining the return value, and 'detailed information' is left vague — an agent cannot tell what fields or nested objects come back. The signed-URL note helps, but what the variant record actually contains is unstated.

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 UUID parameters are fully documented in the schema itself. The description adds no syntax, format, or relationship detail (e.g. whether template_id must match the variant's parent), 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?

The description states a specific verb and resource ('Get detailed information about a specific variant'), which is unambiguous about what the call returns. It does not explicitly distinguish itself from siblings like layerre_list_variants or layerre_get_template, but the singular 'specific variant' framing makes the contrast reasonably clear.

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?

Usage is only implied: the required variant_id/template_id pair signals you must already know which variant you want, which nudges an agent toward layerre_list_variants for discovery. No explicit when-to-use, when-not-to-use, or named alternatives are provided.

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.