Skip to main content
Glama

List models

layerz_list_models
Read-only

Lists the models the authenticated user can access. Each entry carries can_write (owner or editor), url, glyph and sharing: { shared, member_count, link_visibility }. q filters by name (case-insensitive substring, * wildcard), writable: true keeps owner/editor models only. A model-scoped key gets its bound model only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
qNoName filter: case-insensitive substring ("swoop" matches "SWOOP - BP 2026"); `*` is a wildcard, `%`, `_` and `&` are literal.
writableNoWhen true, only models the caller can edit (owner or editor).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / q / description
      Previous value: -"Optional name search filter. Substring, case-insensitive (e.g. \"swoop\" matches \"SWOOP - BP 2026\"). Use \"*\" as a wildcard; \"%\", \"_\" and \"&\" are literal."New value: +"Name filter: case-insensitive substring (\"swoop\" matches \"SWOOP - BP 2026\"); `*` is a wildcard, `%`, `_` and `&` are literal."
    • changedInput schema / properties / writable / description
      Previous value: -"When true, returns only models the caller can edit (owner or editor). Omit to return all accessible models."New value: +"When true, only models the caller can edit (owner or editor)."
  2. First observed

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already declare a safe read (readOnlyHint=true, destructiveHint=false). Beyond that, the description discloses the return structure (can_write, url, glyph, sharing) and the edge case that a model-scoped key returns only its bound model — real context not present in annotations.

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 dense paragraph, front-loaded with the purpose and then the filter and edge-case details. Every sentence carries information, with no filler, though the packing of field names is slightly dense.

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?

With no output schema, the description usefully spells out the returned entry fields and the scoped-key caveat, and annotations cover the safety profile. Pagination, ordering, and total-count behavior are unaddressed but are minor for this read tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the schema already documents both parameters, establishing a baseline of 3. The description adds value by noting that a model-scoped key ignores the filters and returns only the bound model, refining the semantics of `q` and `writable` beyond the schema.

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 ('Lists the models') plus scope ('the authenticated user can access'), and enumerates the entry fields. It never explicitly names a sibling like layerz_get_model to contrast single-vs-list retrieval, so it is clear but not sibling-differentiating.

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?

Filtering behavior is explained (`q` for name, `writable: true` for owner/editor), which implicitly guides usage, and the model-scoped-key note is a useful conditional. However, there is no explicit when-to-use-this-vs-alternatives guidance relative to get_model or the other list_* siblings.

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