Skip to main content
Glama

update_contact

Modify contact details in Microsoft MCP by specifying contact ID, account ID, and desired updates, ensuring accurate and current contact records.

Instructions

Update contact information

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
account_idYes
contact_idYes
updatesYes

Implementation Reference

  • The handler function for the 'update_contact' MCP tool. It performs a PATCH request to the Microsoft Graph API endpoint /me/contacts/{contact_id} with the provided updates dictionary, returning the result or a status message.
    @mcp.tool def update_contact( contact_id: str, updates: dict[str, Any], account_id: str ) -> dict[str, Any]: """Update contact information""" result = graph.request( "PATCH", f"/me/contacts/{contact_id}", account_id, json=updates ) return result or {"status": "updated"}

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