Skip to main content
Glama

Look up a public post

lookup_post
Read-only

Read one public Instagram, TikTok, YouTube, X, LinkedIn or Facebook post or GitHub repository by URL. Returns its caption, author id, date, media and public counts when available. X, LinkedIn and Facebook posts are read only through a paid reader, with exact counts, and a deployment with no reader configured answers 503 before it charges. A LinkedIn post's author.profileUrl is the person's or the company's own page, and a Facebook post's likes counts every reaction. A full Instagram read adds source ids and ordered frames with image/video URLs, dimensions, duration and alt text; missing fields are null. YouTube adds video/channel ids, title and description, not a playable stream. GitHub adds repository details (language, license, default branch, topics, stars, forks, open issues and watchers). Every read says its detailLevel (detailed from the post's own page or API, embed from a thin public card that leaves what it does not show null) and its confidence; a cached answer keeps both. CDN URLs can expire: download the files. Answers found or undecided (refunded), never notFound. 1 credit on a miss, 0 on a hit. Cached answers keep the original extractedAt.

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": {
      "url": "<url>"
    },
    "name": "lookup_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAn http(s) URL.
refreshNoBypass the cache and the snapshot; costs a credit even when fresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes far beyond the readOnly/openWorld annotations: it discloses credit economics (1 credit on a miss, 0 on a hit, refresh costs a credit even when fresh), a pre-charge 503 when no paid reader is configured, refund semantics for 'undecided', the guarantee that 'notFound' is never returned, detailLevel/confidence provenance, and that cached answers preserve the original extractedAt. CDN URL expiry is flagged with the remedy (download the files). This is exactly the extra context annotations cannot carry.

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?

Purpose is front-loaded in the first two sentences and almost every following sentence carries a distinct fact (platform caveats, detailLevel, cost, cache). It is dense and long, and the run of platform-specific details would scan better as bullets, but there is little pure filler.

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 must carry return-value semantics, and it does: per-platform field additions, null for missing fields, detailLevel and confidence on every read, and the found/undecided outcome set. For a multi-platform read tool with billing implications, an agent has enough to call it and interpret the result correctly.

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% and both parameters ('url', 'refresh') are already documented in the schema, so the baseline applies. The description implies URL semantics (per-platform post/repo URLs) and mentions caching behavior that bears on 'refresh', but it does not explicitly explain what refresh does relative to the snapshot or cache it overrides.

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?

States a specific verb and resource: 'Read one public Instagram, TikTok, YouTube, X, LinkedIn or Facebook post or GitHub repository by URL,' then enumerates what is returned (caption, author id, date, media, counts). The 'one ... by URL' scoping distinguishes it from the search_* and list_* siblings without needing to name them.

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 rather than stated: the tool takes a URL and reads a single item, so an agent can infer it should come after resolving/finding a target. It never explicitly says when to prefer this over lookup_profile or the search tools, nor does it state prerequisites (e.g., 'call resolve_target first'). The 'download the files' note is operational guidance, not selection guidance.

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