Skip to main content
Glama

List Layouts

list_layouts
Read-only

List all available extraction layouts with their field definitions

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": "list_layouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of layouts to return (default: 20)
offsetNoNumber of layouts to skip (for pagination)

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 and openWorldHint=false, so the safety profile is covered by structured data. The description's real contribution is disclosing that the payload includes field definitions alongside layout records, which tells the agent this call doubles as schema discovery. It stops short of mentioning pagination, result ordering, or that results are bounded (contradicting the 'all' wording), leaving those behaviors implicit.

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?

A single front-loaded sentence with no filler, and the key information (what is listed, what comes back) arrives immediately. Brevity here is close to under-specification rather than over-writing, so the efficiency is real but leaves little room for the missing guidance.

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 two-parameter read-only listing tool, the essentials are covered: annotations carry the safety profile, the schema fully documents pagination, and the description explains what the returned records contain. With no output schema present, a brief note on the response shape or result ordering would have made it complete, but nothing critical to correct invocation is missing.

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 coverage is 100%, with limit and offset each carrying their own default and pagination descriptions, so the schema does the heavy lifting and the baseline of 3 applies. The description adds nothing about the parameters and its phrase 'List all available' mildly obscures the fact that results are paginated and capped at 20 by default.

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?

States a specific verb and resource ('List ... extraction layouts') and adds scope detail by noting the response includes field definitions, which distinguishes it from a bare listing. It does not, however, explicitly separate it from close siblings such as list_templates or check_fields, so an agent still has to infer which listing returns layout structures versus template or field metadata.

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?

The description gives no when-to-use guidance, no prerequisites, and never names an alternative such as check_fields for inspecting a single layout's fields. 'List all available' implies a discovery use case but leaves the agent to infer that this should be called before create_layout, update_layout, or delete_layout, which are precisely the siblings that make that routing decision necessary.

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