Skip to main content
Glama

delete_contact

Remove a specific contact by providing the contact ID and account ID using the Microsoft MCP server. Simplify contact management by deleting unnecessary entries.

Instructions

Delete a contact

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
contact_idYes

Implementation Reference

  • The handler function for the 'delete_contact' tool. It deletes the specified contact using the Microsoft Graph API by sending a DELETE request to /me/contacts/{contact_id}.
    @mcp.tool def delete_contact(contact_id: str, account_id: str) -> dict[str, str]: """Delete a contact""" graph.request("DELETE", f"/me/contacts/{contact_id}", account_id) return {"status": "deleted"}

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/elyxlz/microsoft-mcp'

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