Skip to main content
Glama
CodeDreamer06

Unstop MCP Server

get_hackathon_details

Retrieve comprehensive details for a specific Unstop hackathon using its unique ID to access event information, requirements, and participation data.

Instructions

Fetch full details for a single Unstop hackathon by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
hackathon_idYes

Implementation Reference

  • The MCP tool handler in server.py that calls the service layer.
    def get_hackathon_details(hackathon_id: int) -> dict:
        try:
            return service.get_hackathon_details(hackathon_id).model_dump(mode="json")
        except (UnstopValidationError, UnstopAPIError, ValueError) as exc:
            raise ValueError(str(exc)) from exc
  • The actual service implementation that fetches and normalizes hackathon details.
    def get_hackathon_details(self, hackathon_id: int) -> HackathonDetailResponse:
        raw = self.fetch_detail(hackathon_id)
        detail = self.parse_detail(raw)
        item = self.normalize_hackathon(detail)
        return HackathonDetailResponse(item=item, cache=self.cache.metadata(is_cached_result=False))
  • Registration of the get_hackathon_details tool.
        name="get_hackathon_details",
        description="Fetch full details for a single Unstop hackathon by ID.",
    )

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/CodeDreamer06/UnstopMCP'

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