Skip to main content
Glama

get_hex_project_runs

Retrieve project runs for a specific Hex project by providing the project ID, with options to limit and offset results for efficient data access.

Instructions

Get the runs for a specific project.

Args: project_id: The UUID of the Hex project limit: The number of runs to return offset: The number of runs to skip Returns: JSON string with project runs

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
project_idYes

Implementation Reference

  • The tool handler function for 'get_hex_project_runs'. It makes a GET request to the Hex API endpoint /projects/{project_id}/runs with pagination parameters and returns the JSON response as a string.
    @mcp.tool() async def get_hex_project_runs(project_id: str, limit: int = 25, offset: int = 0) -> str: """Get the runs for a specific project. Args: project_id: The UUID of the Hex project limit: The number of runs to return offset: The number of runs to skip Returns: JSON string with project runs """ params = {"limit": limit, "offset": offset} runs = await hex_request("GET", f"/projects/{project_id}/runs", params=params) return runs
  • The @mcp.tool() decorator registers the get_hex_project_runs function as an MCP tool.
    @mcp.tool()

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/franccesco/hex-mcp'

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