Skip to main content
Glama
JoseGarayar
by JoseGarayar

delete_employee

Remove an employee record from the system by specifying their unique ID. This tool permanently deletes employee data from the database.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes

Implementation Reference

  • main.py:73-77 (handler)
    Handler function for the 'delete_employee' tool. It is registered via @mcp.tool() decorator and implements the logic to delete an employee by ID using a DELETE HTTP request to the API endpoint via the shared make_request helper.
    @mcp.tool() async def delete_employee(id: int) -> dict: url = f"{URL_BASE}/employees/{id}" response = await make_request(url, "DELETE") return response

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/JoseGarayar/mcp_test'

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