Skip to main content
Glama

mcp__linear__list_states

Retrieve all workflow states for a specified Linear team using its team key, so you can map issue statuses and configure workflows with valid state IDs.

Instructions

List all workflow states for a team

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "teamId": "<teamId>"
    },
    "name": "mcp__linear__list_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
teamIdYesThe team key (e.g., 'OPS', 'SOFT')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. "List" implies a read, but it does not confirm read-only behavior, state whether archived or grouped states are included, whether order is guaranteed, or whether the response is paginated. For a zero-annotation tool this is thin.

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 front-loaded sentence with no filler. Every word constrains the tool's behavior, so nothing could be cut without losing meaning.

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

Completeness3/5

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

For a one-parameter read tool with a fully described schema and no output schema, the description is serviceable but not complete: an agent gets no sense of what a returned state contains (id, name, type, position) or how it pairs with create_issue/update_issue.

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% — teamId is documented with format examples ('OPS', 'SOFT'). The description's "for a team" reinforces the scoping but adds no syntax or edge-case meaning (e.g., invalid key behavior) beyond the schema, so baseline 3 applies.

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?

Clear verb+resource: "List all workflow states for a team" tells the agent exactly what is returned and the scoping unit (a team). It does not need to distinguish itself from siblings, since none of the other list_* tools cover workflow states, but it also spends no words on that differentiation.

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: the tool takes a teamId, so the agent infers it must know a team first. There is no statement of when to prefer this over, say, get_team, nor any hint that the returned state IDs are what create/update issue tools expect.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.