Skip to main content
Glama

get_project

Retrieve detailed information about a specific project by providing its ID, with options to include and expand additional fields for comprehensive insights.

Instructions

Get detailed information about a specific project

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
expandNoFields to expand (comma-separated)
includeNoAdditional fields to include (comma-separated)
project_idYesThe ID of the project to retrieve

Implementation Reference

  • The core handler function for the 'get_project' MCP tool. It is decorated with @mcp.tool(), which registers it with the MCP server. The function fetches project details via api_client.get_project and returns JSON.
    @mcp.tool() async def get_project(ctx: Context, project_id: int, page_size: Optional[int] = None, include: Optional[str] = None, expand: Optional[str] = None) -> str: """Get details of a specific project. Use list_countermeasures to see countermeasures for a project, not this tool.""" global api_client if api_client is None: api_client = init_api_client() params = build_params({"page_size": page_size, "include": include, "expand": expand}) result = api_client.get_project(project_id, params) return json.dumps(result, indent=2)

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/geoffwhittington/sde-mcp'

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