Skip to main content
Glama
Heartran

phonelink-mcp-server

by Heartran

Get Phone Messages

phonelink_get_messages
Read-only

Retrieve SMS messages and conversations from Phone Link. List visible chats or read a specific contact's message history.

Instructions

Read SMS messages from Phone Link's Messages tab.

Two modes:

  1. List conversations: Leave conversation_name empty to get a list of all visible conversations with their last message previews.

  2. Read conversation: Provide a contact name to open and read messages from that specific conversation.

Args:

  • conversation_name (string, optional): Contact name to open. Empty = list all conversations.

  • max_messages (number): Max messages/conversations to return (1-100, default: 20).

  • navigate_to_tab (boolean): Click the Messages tab first (default: true).

Returns (list mode): { "conversation_count": number, "conversations": [{ "contact": string, ... }] }

Returns (conversation mode): { "conversation": string, "message_count": number, "messages": [{ "text": string, ... }] }

Tips:

  • Use list mode first to discover available conversations.

  • The contact name must match what's displayed in the Phone Link UI.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_messagesNoMaximum number of messages/conversations to return (default: 20).
navigate_to_tabNoWhether to click the Messages tab first (default: true). Set false if already on the tab.
conversation_nameNoContact name to open a specific conversation. Leave empty to list all conversations.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark the tool as read-only and non-destructive, and the description adds meaningful behavior beyond that: the dual-mode behavior, the fact that navigate_to_tab will click the Messages tab first, and the return shape for each mode. It also warns that the contact name must match the UI exactly, which is valuable operational context.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured with a purpose line, two modes, Args, per-mode return shapes, and Tips. Each section serves a clear function, and the front-loaded purpose sentence immediately tells the agent what the tool does. The length is justified by the dual-mode complexity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description provides return shapes for both modes, which matters because there is no output schema, and it gives practical lookup tips. However, the return shapes use '...' placeholders and the description does not cover failure cases such as a conversation name not being found or Phone Link not being connected, so it is strong but not fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds a few genuinely useful nuances beyond the schema: the contact name must match what is displayed in the Phone Link UI, and max_messages applies to either conversations or messages depending on the mode. Most of the Args section repeats schema details, so it does not deserve a 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with 'Read SMS messages from Phone Link's Messages tab', a specific verb, resource, and UI location. It also defines two distinct modes, listing conversations vs reading a specific conversation, which clearly separates it from sibling tools like phonelink_get_calls or phonelink_get_photos.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit mode-level guidance: leave conversation_name empty to list conversations, provide a contact name to read that conversation, and 'Use list mode first to discover available conversations.' It does not explicitly compare this tool to sibling tools or state when not to use it, so it falls just short of full marks.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.