Skip to main content
Glama

project_info

Retrieve comprehensive details about a Railway project, including status, environments, services, and configurations. Use to assess project setup and optimize infrastructure management.

Instructions

[API] Get detailed information about a specific Railway project

⚡️ Best for: ✓ Viewing project details and status ✓ Checking environments and services ✓ Project configuration review

→ Prerequisites: project_list

→ Next steps: service_list, variable_list

→ Related: project_update, project_delete

Input Schema

NameRequiredDescriptionDefault
projectIdYesID of the project to get information about

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "projectId": { "description": "ID of the project to get information about", "type": "string" } }, "required": [ "projectId" ], "type": "object" }

Implementation Reference

  • The main handler function for the 'project_info' tool that fetches detailed project information by calling projectService.getProject(projectId).
    async ({ projectId }) => { return projectService.getProject(projectId); }
  • Zod input schema for the 'project_info' tool, requiring a 'projectId' string parameter.
    { projectId: z.string().describe("ID of the project to get information about") },
  • Registration of the 'project_info' tool using createTool, including description, schema, and handler. This tool is part of the exported projectTools array.
    createTool( "project_info", formatToolDescription({ type: 'API', description: "Get detailed information about a specific Railway project", bestFor: [ "Viewing project details and status", "Checking environments and services", "Project configuration review" ], relations: { prerequisites: ["project_list"], nextSteps: ["service_list", "variable_list"], related: ["project_update", "project_delete"] } }), { projectId: z.string().describe("ID of the project to get information about") }, async ({ projectId }) => { return projectService.getProject(projectId); } ),

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/jason-tan-swe/railway-mcp'

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