Skip to main content
Glama

Get a layer

get_layer
Read-onlyIdempotent

One buildout layer with stats and its member stocks, largest market cap first.

Input Schema

NameRequiredDescriptionDefault
slugYesLayer slug from list_layers.
limitNoMembers to return, largest market cap first. Default 25.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint false, and closed-world behavior, so safety is covered. The description adds useful return-shape context: stats and member stocks ordered largest market cap first. It does not disclose what happens for invalid slugs, empty layers, or whether the limit truncates results, leaving moderate gaps.

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?

A single sentence, front-loaded with the resource and return content. Every phrase earns its place and there is no boilerplate.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only lookup with full schema coverage and complete annotations, the description conveys enough about the return content and ordering. It could be slightly more complete by mentioning the default member count or behavior when the slug is not found, but it is adequate.

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 slug and limit are documented in the schema. The description reinforces that members are returned largest market cap first, which relates to limit ordering, but adds no new details about slug format or the default limit of 25.

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 names the specific resource (a buildout layer) and what it returns (stats plus member stocks), so an agent can distinguish it from list_layers or get_buildout. It does not explicitly contrast with those siblings, which keeps it below a 5.

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 explicit when-to-use guidance. The schema's slug description says 'Layer slug from list_layers,' which implies a list-then-get flow, but the description itself does not state when to choose this over get_buildout or list_layers.

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.

Resources