Skip to main content
Glama

List models

layerz_list_models
Read-only

List models the authenticated user can access. Each result includes can_write (true when owner or editor). For model-scoped API keys, returns only the bound model.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoOptional name search filter. Substring, case-insensitive (e.g. "swoop" matches "SWOOP - BP 2026"). Use "*" as a wildcard; "%", "_" and "&" are literal.
writableNoWhen true, returns only models the caller can edit (owner or editor). Omit to return all accessible models.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/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. The description adds genuine behavioral value by disclosing that results include can_write and that model-scoped API keys return only the bound model. This goes beyond the structured annotations without contradicting them.

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?

Three focused sentences, each earning its place: the core action, the can_write field semantics, and the scoped-key special case. The most important information is front-loaded, and there is no filler.

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?

This is a simple, read-only, zero-required-parameter list tool. The description covers the operation, access scope, result flag, and scoped-key behavior. No output schema exists, but the description says enough about the result shape for an agent to call it confidently; pagination or full field enumeration would be nice but are not essential.

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 the schema already fully documents q and writable, including wildcard behavior and omission semantics. The description does not need to repeat parameter details, so the baseline 3 applies.

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?

States a specific verb and resource: 'List models the authenticated user can access.' It clearly distinguishes itself from get_model and other layerz_list_* siblings by focusing on the models the caller can access. The title and description align, and the description adds useful scope.

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: this is the tool for listing accessible models, with optional can_write information. It does not explicitly compare itself to get_model or list_templates, so alternatives are not named, but the list-vs-get distinction is strongly implied and the context is clear.

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