Skip to main content
Glama

get_application

Retrieve detailed information about a specific application using its ID, including optional fields and expansions for comprehensive insights.

Instructions

Get detailed information about a specific application

Input Schema

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

Implementation Reference

  • The core handler function implementing the 'get_application' tool logic. Decorated with @mcp.tool() for automatic registration and schema inference in the FastMCP framework. Fetches application data via API client and returns JSON.
    @mcp.tool() async def get_application(ctx: Context, application_id: int, page_size: Optional[int] = None, include: Optional[str] = None, expand: Optional[str] = None) -> str: """Get details of a specific application""" 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_application(application_id, params) return json.dumps(result, indent=2)
  • Import of the tools package in the main server file, which cascades to import and register all tools including get_application.
    from . import tools # noqa: F401

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