Skip to main content
Glama

Look up a public profile

lookup_profile
Read-only

Read a public profile on Instagram, TikTok, YouTube, LinkedIn, X, Facebook, GitHub or a website. A found answer includes the profile, recent posts and platform details when available: account ids, links, creation dates and public counts. Instagram's userId and graphId name different ids; neither grants permission. Missing fields are null; unsupported blocks are absent. Data outcomes answer 200: found, notFound (confirmed by the platform, cached an hour) or undecided (refunded, never cached). 1 credit on a miss, 0 on a hit. extractedAt is the original read time, including cache and snapshot hits.

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": {
      "input": "<input>"
    },
    "name": "lookup_profile"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesA profile URL, post URL, website or @handle.
postsNoRecent posts to return (0–15). Default 10. This limits the answer, not the source read.
refreshNoBypass the cache and the snapshot; costs a credit even when fresh.
platformNoRequired when `input` is a bare handle.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior5/5

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

Goes well past the readOnly/openWorld annotations: it defines the three data outcomes and their 200 status (`found`, `notFound` confirmed and cached an hour, `undecided` refunded and never cached), the credit economics (1 on a miss, 0 on a hit), null-versus-absent field handling, and what `extractedAt` means on cache/snapshot hits. These are exactly the non-obvious operational traits an agent needs before calling.

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?

Front-loaded with purpose and platform scope, then terse sentences covering return shape, outcome semantics and cost. It is dense and backtick-heavy but essentially every clause carries information; the userId/graphId sentence is the only one bordering on niche trivia.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing return values, and it does: profile/posts/platform details, which counts and ids appear, null versus absent handling, the outcome taxonomy, caching behavior and credit cost. An agent could call this correctly and interpret every response without further documentation.

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 both `input`, `posts`, `refresh` and `platform` are already documented in structured form, and the description adds little per-parameter meaning beyond caching context. Its added detail (Instagram `userId` vs `graphId`, null fields) concerns output fields rather than input semantics, so baseline 3 applies.

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?

Opens with a specific verb+resource ("Read a public profile") and enumerates the eight supported platforms, so the agent knows exactly what domain of data this returns. It does not explicitly name sibling tools such as lookup_post, and the fact that `input` also accepts a post URL slightly blurs the boundary with the post-lookup sibling.

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

Usage Guidelines3/5

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

Usage is implied by the resource type rather than stated: the agent can infer this is the profile-level read, and the description notes `platform` is required for a bare handle. There is no explicit when-to-use / when-not-to-use guidance or named alternative for post-level, website, or search queries.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources