Skip to main content
Glama
jhgaylor
by jhgaylor

get_job

Retrieve detailed information about a specific job using its unique job_id to access essential details for informed decision-making or analysis.

Instructions

Get detailed information about a specific job

Args: job_id: The unique identifier of the job

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
job_idYes

Implementation Reference

  • The main handler function for the 'get_job' tool, registered via @mcp.tool() decorator. It receives the job_id parameter and calls the internal helper to fetch job details from the API.
    @mcp.tool() def get_job(job_id: str) -> Dict[str, Any]: """Get detailed information about a specific job Args: job_id: The unique identifier of the job """ return _get_job_logic(job_id=job_id)
  • Supporting helper function that performs the HTTP GET request to the HireBase API to retrieve the specific job by ID, handles errors, and returns the JSON response or error message.
    def _get_job_logic(job_id: str) -> Dict[str, Any]: """Internal logic for retrieving a specific job via HireBase API.""" try: response = requests.get( f"{HIREBASE_API_BASE}/jobs/{job_id}", headers=get_hirebase_headers() ) response.raise_for_status() return response.json() except requests.exceptions.RequestException as e: # Log the error or handle it as needed # print(f"HireBase API Error: {e}") # Example logging return {"error": str(e)}

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/jhgaylor/hirebase-mcp'

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