Skip to main content
Glama

Get layer

layerre_get_layer
Read-onlyIdempotent

Get detailed information about a specific layer. 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>",
      "layer_id": "<layer_id>"
    },
    "name": "layerre_get_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
layer_idYesThe UUID of the layer to retrieve
template_idYesThe UUID of the template

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true and destructiveHint=false, so safety behavior is covered by structured data. The description adds one genuinely useful behavioral fact beyond that: signed URLs in the returned layer are automatically refreshed if expired, which tells the agent stale links are not a failure mode. It does not describe the shape or size of the returned payload.

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, both front-loaded with the most important information and no filler. 'Detailed information' is slightly vague but the remainder is efficient and 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?

For a simple two-parameter read tool with annotations covering safety, the definition is close to sufficient. However, with no output schema, 'detailed information' leaves the agent unable to anticipate what fields come back from a layer object, and there is no note on error behavior for unknown IDs.

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% and both parameters (layer_id, template_id) are documented in the schema as UUIDs, so the description adds no parameter meaning. Baseline 3 is appropriate when the schema carries the full burden.

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 layer'), which cleanly separates it from get_template and get_variant siblings. It stops short of explicitly naming which resource type is returned versus the sibling getters, but the resource is unambiguous.

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 when-to-use guidance, no prerequisite statement (e.g., retrieve template_id first), and no reference to alternatives such as list_variants or get_variant. Usage is only inferable from the name and required UUID parameters.

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.