Skip to main content
Glama

get_user_media

Retrieves a user's posted photos, videos, and GIFs with direct media URLs, so you can collect the files before downloading or use them for visual research.

Instructions

Photos, videos and GIFs a user posted, with direct media URLs.

Use before download_media() when you need the files, or for visual research.

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": {
      "username": "<username>"
    },
    "name": "get_user_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
usernameYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.0.6
    • removedInput schema / properties / limit / description
      Removed value: -"Max tweets to return (default 20, max 100)."
    • removedInput schema / properties / username / description
      Removed value: -"The @handle (without the @)."
  2. First observedv1.0.3

TDQS

B3.4/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden; it does disclose that results are the user's own posts and that direct URLs are included, which is useful behavioral context. It says nothing about pagination via the limit parameter, how private/protected accounts behave, or any auth/rate-limit requirements for a read-only media listing.

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?

Two short sentences with no filler, and the resource definition is front-loaded ahead of the sibling routing hint. Nothing is wasted, though the phrasing is slightly telegraphic.

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?

An output schema exists, so return values need not be explained, and the read-only nature is self-evident. However, for a two-parameter listing tool with zero schema coverage, the description should still cover pagination/limit behavior and the private-account edge case; those omissions leave a real gap.

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

Parameters2/5

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

Schema description coverage is 0%, so both parameters are undocumented in structured fields. The description implies 'username' means the account whose posted media is returned, but it never mentions the 'limit' parameter, its default of 20, or what happens when more media exists than the limit.

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 the resource precisely — photos, videos and GIFs a specific user posted — and adds that it returns direct media URLs, which separates it from download_media and from the other get_user_* variants. It is clear without opening the schema, though the verb is only implied by the noun phrase.

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 an explicit ordering rule ('Use before download_media() when you need the files') plus a second use case ('visual research'), so the agent knows both when to call it and which sibling to call next. It stops short of stating when NOT to use it, e.g. that download_media alone suffices if the binary is all that is needed.

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

Deploy Server

Other Tools