{"name":"messages","version":"0.1.0","instructions":"Messages is an end-to-end encrypted 1:1 messenger that also keeps one person's notes and files. Every tool acts on the signed-in person's own data.\n- Conversations: the tools see who, when, how many unread, and what kind each message was, never what it says: messages are encrypted on the person's devices, which alone hold the keys. So no tool reads or sends a message; find_people, start_conversation, list_conversations, mark_conversation_read and delete_conversation work on the rest. Deleting a conversation deletes it for both people. list_calls says who called whom, when, whether it was a video call, and how it went; calls are made in the apps.\n- A person is found by their handle (3 to 30 letters, digits or underscores); get_profile and update_profile are the signed-in person's own.\n- Notes are plain text, 1 to 10000 characters. A file can be added to a note (upload_attachment with noteId); list_attachments with noteId lists that note's files. Deleting a note keeps its files.\n- A note the app writes for the person (the daily greeting at midnight) arrives unread (readAt null); mark_note_read clears it from the apps' unread badge. Notes the person writes are read from the start.\n- Lists are newest first; pass a list's nextCursor as cursor to get the next page.\n- Files travel as base64: up to 10 MB in, and read_attachment returns images and text up to 2 MB. For anything else, use get_attachment_download_url.\n- The AI tools use the server's AI provider and fail when none is configured.\n- list_activity is the person's history: what they did (business: notes and files; technical: sign-in, account, AI) and what an administrator did to their account.\n- list_notifications is what the app told the person (a note added, a file uploaded), with how many are unread; marking them read clears the web app's bell.","tools":[{"name":"get_account","title":"Get account","description":"The signed-in person (id, name, email, profile photo) and how many notes they have.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"set_profile_photo","title":"Set profile photo","description":"Replace the profile photo with a PNG, JPEG, WebP, or GIF image of at most 2 MB, given as base64.","inputSchema":{"type":"object","properties":{"imageBase64":{"type":"string","minLength":1,"maxLength":2796304,"description":"The image file, base64-encoded"}},"required":["imageBase64"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"remove_profile_photo","title":"Remove profile photo","description":"Delete the uploaded profile photo and go back to the sign-in provider's picture.","inputSchema":{"type":"object","properties":{}},"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_activity","title":"List activity","description":"What the person did, newest first, one page at a time: each item's summary, category (business: notes and files; technical: sign-in, account, AI, admin), the note, file, or key it was about, and when.","inputSchema":{"type":"object","properties":{"category":{"description":"Only business or only technical activity","type":"string","enum":["business","technical"]},"limit":{"description":"Items per page, 1 to 200 (default 50)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"The nextCursor of the previous page","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_profile","title":"Get profile","description":"The signed-in person's Messages profile: the handle people find them by, their name, photo, status, whether they are online, and whether they set up encryption.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"update_profile","title":"Update profile","description":"Change the handle (others find the person by it) and/or the status line. A handle someone else has is refused.","inputSchema":{"type":"object","properties":{"handle":{"description":"The new handle: 3 to 30 letters, digits or underscores","type":"string","pattern":"^[A-Za-z0-9_]{3,30}$"},"statusText":{"description":"A status line up to 120 characters; null or empty clears it","anyOf":[{"type":"string","maxLength":120},{"type":"null"}]}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"find_people","title":"Find people","description":"People in Messages whose handle starts with the query, up to 20: handle, name, status, and whether they are online.","inputSchema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"maxLength":30,"description":"The start of a handle; a leading @ is fine"}},"required":["query"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_conversations","title":"List conversations","description":"The person's conversations, most recent first: with whom, how many messages are unread, when the last one was and what kind it was (text, image, video, audio, file). Never what the messages say: they are encrypted.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_calls","title":"List calls","description":"The person's voice and video calls, newest first, optionally in one conversation: who called whom, when, whether it was a video call, whether it was answered, declined, cancelled or missed, and how long it lasted. Calls are made in the apps; no tool can ring anyone.","inputSchema":{"type":"object","properties":{"conversationId":{"description":"Only this conversation's calls","type":"string","minLength":1},"limit":{"description":"How many (default 50)","type":"integer","minimum":1,"maximum":100}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"start_conversation","title":"Start a conversation","description":"Opens the conversation with the person who has this handle, starting it when there is none (asking twice is safe). Messages in it are written in the apps, which encrypt them.","inputSchema":{"type":"object","properties":{"handle":{"type":"string","pattern":"^[A-Za-z0-9_]{3,30}$","description":"Their handle, as find_people shows it"}},"required":["handle"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"mark_conversation_read","title":"Mark a conversation read","description":"Marks everything in a conversation read up to now; the other person sees their messages as seen.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The conversation's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"delete_conversation","title":"Delete a conversation","description":"Deletes a conversation, its messages and its files, for both people in it. Deleting one that is already gone does nothing.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The conversation's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_devices","title":"List devices","description":"Everywhere the person signed in, or did: browsers, the phone and desktop apps, AI assistants — each with its kind, name, platform, when it was last seen, and whether it is signed out. Signing a device out needs the person themself, in the app.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"control_device","title":"Control a device","description":"Moves one of the person's open devices — a browser or the desktop app that list_devices shows online, with the capability the command needs: open a page (`pages`) or a note (`notes`), the next or previous note, scroll up or down, or go back. Navigation only; the device shows that an AI assistant asked.","inputSchema":{"type":"object","properties":{"deviceId":{"type":"string","minLength":1,"description":"The device's id, from list_devices"},"command":{"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"open_page"},"page":{"type":"string","enum":["attachments","notes","chat","activity","account","settings","help"]}},"required":["action","page"]},{"type":"object","properties":{"action":{"type":"string","const":"open_note"},"noteId":{"type":"string","minLength":1,"maxLength":100}},"required":["action","noteId"]},{"type":"object","properties":{"action":{"type":"string","const":"next_note"}},"required":["action"]},{"type":"object","properties":{"action":{"type":"string","const":"previous_note"}},"required":["action"]},{"type":"object","properties":{"action":{"type":"string","const":"scroll"},"direction":{"type":"string","enum":["up","down"]}},"required":["action","direction"]},{"type":"object","properties":{"action":{"type":"string","const":"back"}},"required":["action"]}],"description":"What the device does, e.g. { action: \"open_page\", page: \"notes\" }"}},"required":["deviceId","command"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_notifications","title":"List notifications","description":"What the app told the person, newest first, one page at a time: each notification's title, text, link, and whether it is read, plus how many are unread.","inputSchema":{"type":"object","properties":{"limit":{"description":"Items per page, 1 to 200 (default 50)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"The nextCursor of the previous page","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"mark_notification_read","title":"Mark notification read","description":"Mark one notification read. Marking it again keeps the first time.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100,"description":"The notification's id, from list_notifications"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"mark_all_notifications_read","title":"Mark all notifications read","description":"Mark every notification of the person read.","inputSchema":{"type":"object","properties":{}},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_notes","title":"List notes","description":"The person's notes, newest first, one page at a time; readAt is null for an unread note.","inputSchema":{"type":"object","properties":{"limit":{"description":"Items per page, 1 to 200 (default 50)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"The nextCursor of the previous page","type":"string"}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_note","title":"Get note","description":"One note, with its full text.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The note's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"mark_note_read","title":"Mark note read","description":"Mark one unread note read. Marking it again keeps the first time.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The note's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"create_note","title":"Create note","description":"Write a new note.","inputSchema":{"type":"object","properties":{"content":{"type":"string","minLength":1,"maxLength":10000,"description":"The note's text"}},"required":["content"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"update_note","title":"Update note","description":"Replace a note's text.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The note's id"},"content":{"type":"string","minLength":1,"maxLength":10000,"description":"The note's new text"}},"required":["id","content"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"delete_note","title":"Delete note","description":"Delete a note permanently. Deleting one that is already gone succeeds.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The note's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_attachments","title":"List files","description":"The person's files (name, size, type, and the note each was added to), newest first, one page at a time.","inputSchema":{"type":"object","properties":{"limit":{"description":"Items per page, 1 to 200 (default 50)","type":"integer","minimum":1,"maximum":200},"cursor":{"description":"The nextCursor of the previous page","type":"string"},"noteId":{"description":"Only the files added to this note","type":"string","minLength":1}},"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"upload_attachment","title":"Upload file","description":"Store a file, given as base64 (at most 10 MB here, and within the server's upload policy), optionally adding it to one of the person's notes.","inputSchema":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":300,"description":"The file name"},"mimeType":{"type":"string","minLength":1,"maxLength":255,"description":"The file's type, e.g. text/plain or image/png"},"contentBase64":{"type":"string","minLength":1,"maxLength":13981116,"description":"The file's bytes, base64-encoded"},"noteId":{"description":"The note to add the file to","type":"string","minLength":1,"maxLength":100}},"required":["name","mimeType","contentBase64"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"read_attachment","title":"Read file","description":"A file's contents: images (PNG, JPEG, GIF, WebP) as an image, text as text, up to 2 MB. For other files use get_attachment_download_url.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The file's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"get_attachment_download_url","title":"Get file download link","description":"A short-lived link to download one of the person's files.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The file's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"delete_attachment","title":"Delete file","description":"Delete a file permanently. Deleting one that is already gone succeeds.","inputSchema":{"type":"object","properties":{"id":{"type":"string","minLength":1,"description":"The file's id"}},"required":["id"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"destructiveHint":true,"idempotentHint":true,"openWorldHint":false},"execution":{"taskSupport":"forbidden"}},{"name":"list_ai_models","title":"List AI models","description":"The language models the server's AI provider offers.","inputSchema":{"type":"object","properties":{}},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"ai_chat","title":"Chat with the AI","description":"Send a conversation to the server's language model and get its reply.","inputSchema":{"type":"object","properties":{"messages":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["system","user","assistant"]},"content":{"type":"string","minLength":1,"maxLength":32000}},"required":["role","content"]},"description":"The conversation so far, oldest first"},"model":{"description":"A model from list_ai_models; the default if omitted","type":"string"},"temperature":{"type":"number","minimum":0,"maximum":2},"maxTokens":{"type":"integer","exclusiveMinimum":0,"maximum":8192}},"required":["messages"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"summarize_note","title":"Summarize note","description":"A one- or two-sentence summary of one of the person's notes.","inputSchema":{"type":"object","properties":{"noteId":{"type":"string","minLength":1,"description":"The note's id"}},"required":["noteId"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}},{"name":"transcribe_audio","title":"Transcribe audio","description":"Speech to text for an audio file given as base64 (at most 10 MB here).","inputSchema":{"type":"object","properties":{"audioBase64":{"type":"string","minLength":1,"maxLength":13981116,"description":"The audio file, base64-encoded"},"filename":{"description":"Its name; the extension tells the format (default audio.webm)","type":"string","maxLength":300},"language":{"description":"The spoken language, e.g. en","type":"string","maxLength":20}},"required":["audioBase64"],"$schema":"http://json-schema.org/draft-07/schema#"},"annotations":{"readOnlyHint":true,"openWorldHint":true},"execution":{"taskSupport":"forbidden"}}],"endpoint":"https://messages.192.168.1.105.sslip.io/api/mcp","transport":"Streamable HTTP, stateless: POST only","authentication":{"bearer":"A personal API key (stk_…) or a Logto access token, as Authorization: Bearer","resourceMetadata":"https://messages.192.168.1.105.sslip.io/.well-known/oauth-protected-resource/api"}}