Skip to main content
Glama
makeplane

Plane MCP Server

Official
by makeplane

get_state

Retrieve specific state details within a project by providing the project ID and state ID. Ideal for managing and accessing state information in Plane's project management system via the MCP Server.

Instructions

Get details of a specific state

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe uuid identifier of the project containing the state
state_idYesThe uuid identifier of the state to get

Implementation Reference

  • Handler function that performs a GET request to retrieve details of a specific project state from the Plane API and returns the response as formatted JSON text.
    async ({ project_id, state_id }) => {
      const response = await makePlaneRequest(
        "GET",
        `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/states/${state_id}/`
      );
      return {
        content: [
          {
            type: "text",
            text: JSON.stringify(response, null, 2),
          },
        ],
      };
    }
  • Zod input schema defining the required project_id and state_id parameters for the get_state tool.
    {
      project_id: z.string().describe("The uuid identifier of the project containing the state"),
      state_id: z.string().describe("The uuid identifier of the state to get"),
    },
  • Registration of the get_state tool within the registerMetadataTools function using McpServer.tool method, including description, inline schema, and handler.
    server.tool(
      "get_state",
      "Get details of a specific state",
      {
        project_id: z.string().describe("The uuid identifier of the project containing the state"),
        state_id: z.string().describe("The uuid identifier of the state to get"),
      },
      async ({ project_id, state_id }) => {
        const response = await makePlaneRequest(
          "GET",
          `workspaces/${process.env.PLANE_WORKSPACE_SLUG}/projects/${project_id}/states/${state_id}/`
        );
        return {
          content: [
            {
              type: "text",
              text: JSON.stringify(response, null, 2),
            },
          ],
        };
      }
    );
Behavior2/5

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

With no annotations provided, the description carries full burden but only states it 'gets details' without disclosing behavioral traits like read-only nature (implied by 'get'), error handling, authentication needs, or rate limits. It's minimal and doesn't add meaningful context beyond the basic action.

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?

The description is a single, clear sentence with zero waste—'Get details of a specific state' is front-loaded and appropriately sized for its purpose, earning its place efficiently without unnecessary elaboration.

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

Completeness2/5

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

Given no annotations, no output schema, and a simple read operation with two parameters, the description is incomplete. It doesn't explain what 'details' includes, potential errors, or how it fits into the broader context of sibling tools, leaving gaps for an AI agent to infer usage.

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%, with both parameters ('project_id' and 'state_id') well-documented in the schema as UUID identifiers. The description adds no additional meaning beyond what the schema provides, so it meets the baseline of 3 for high schema coverage without extra value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Get details of a specific state' clearly states the verb ('Get') and resource ('state'), but it's vague about what 'details' entails and doesn't differentiate from sibling tools like 'list_states' or 'get_cycle'. It's functional but lacks specificity about scope or content of the returned details.

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?

No guidance is provided on when to use this tool versus alternatives like 'list_states' (for listing all states) or other 'get_' tools. The description implies it's for retrieving a single state by ID, but there's no explicit comparison or context for selection among siblings.

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

Install Server

Other Tools

Related Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/makeplane/plane-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server