Skip to main content
Glama

list_lines

Read-only

List every line in the project: returns {lines: []} in one call, with no paging. Each entry reports lineKey, name, active, docsSharing (off, link or public), docsUrl (the full address, null while off), publishedAt, endpointCount, and its draft state (draftRevision, hasDraft, scheduledPublish). A project with no lines yet returns an empty lines array rather than an error.

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_lines"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and destructiveHint=false, and the description adds genuinely new behavior: no pagination, a single-call full result, and the empty-project case returning an empty array instead of an error. It does not mention scoping (which project is inferred from) or anything about result size limits for very large projects.

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 sentences, front-loaded with the operation and the no-paging guarantee before the field enumeration. The field list is dense but each item carries contract information that has nowhere else to live, and the closing edge-case sentence earns its place.

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

Completeness5/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 takes on the full burden of documenting the return shape and does so field by field, including enum values for docsSharing, null semantics for docsUrl, and draft-state fields. Combined with the operation's zero-parameter simplicity and read-only annotations, an agent has everything needed to call and interpret it.

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?

There are zero parameters, so the schema carries nothing and the parameter baseline is moot; the description instead spends its text on return-field semantics (docsSharing values, docsUrl null-while-off, draft fields), which is useful but not parameter guidance. Per the zero-parameter baseline this lands at a solid but not exceptional score.

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?

Opens with a specific verb+resource ("List every line in the project") and immediately bounds the operation with 'returns {lines: []} in one call, with no paging.' The remaining siblings in the catalog are create/delete/activate/deactivate operations on lines, so no plausible ambiguity remains about what this tool retrieves.

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?

Usage is only implied: it's clearly the read side of the line lifecycle, but the description never states when to reach for it versus, say, inspecting a single line or list_endpoints for a line's endpoints. No prerequisites, exclusions, or alternative-tool routing are given.

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