Skip to main content
Glama
Meta Business Messaging

Meta Business Messaging

messenger_get_user_profile

Retrieves a Messenger user's public profile fields—such as name, locale, and profile picture—using their Page-Scoped User ID.

Instructions

Fetch a Messenger user's public profile fields (name, locale, profile pic).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "psid": "<psid>"
    },
    "name": "messenger_get_user_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
psidYesPage-Scoped User ID (PSID) of the recipient
fieldsNoComma-separated Graph field listfirst_name,last_name,profile_pic,locale,timezone,gender
access_tokenNoPage Access Token (falls back to MESSENGER_PAGE_ACCESS_TOKEN env)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully scopes the result to *public* profile fields, which tells the agent it cannot expect private data. It says nothing about access-token requirements, rate limits, or failure modes such as an unresolvable PSID, which matter for an API-backed lookup.

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

Conciseness4/5

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

A single front-loaded sentence with no wasted words. It is perhaps slightly too terse for a tool with three parameters and no annotations, but structure and clarity are strong.

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

Completeness3/5

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

For a simple read tool with full schema coverage, the main gap is return-value expectation: there is no output schema, and the description's field list (name, locale, profile pic) does not match the schema default (first_name, last_name, profile_pic, locale, timezone, gender). It is adequate but leaves minor inconsistencies an agent must resolve by inspecting the schema.

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

Parameters3/5

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

Schema description coverage is 100%, so psid, fields, and access_token are already documented in the schema, making 3 the baseline. The parenthetical field list loosely echoes the `fields` default but omits timezone and gender and adds no syntax or format detail beyond the schema.

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

Purpose4/5

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

The description names a specific verb and resource ("Fetch a Messenger user's public profile fields") and lists the returned data, so the agent knows exactly what the tool retrieves. It does not differentiate itself from the sibling messenger_get_profile, leaving ambiguity about user-profile vs page-profile lookup.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as messenger_get_profile or the Instagram/WhatsApp equivalents. The intended use (look up a user's public data) is only implied by the verb and resource.

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