Skip to main content
Glama

Schedchie Social Media Scheduler

Look up platform options for a post

lookup_platform_options
Read-only

Looks up the values a post's platform options take, for one connected account, by kind. instagram_audio: the music catalog Instagram serves for Reels (audio_id, title, display_artist, duration_in_ms, a preview link; no query returns what is trending); an audio_id goes in schedule_post/edit_post platformSpecificContent as instagram_audio_id. Facebook-connected Instagram accounts only: one connected with Instagram sign-in gets a refusal naming the fix. tiktok_music: trending pre-cleared tracks from TikTok's Commercial Music Library, up to 100 (id, title, artist, durationSec, coverUrl, previewUrl); TikTok offers no search, genre narrows the list; an id goes in as tiktok_music_id, for accounts whose get_tiktok_creator_info says musicSelectable true. pinterest_boards: the account's boards, or with boardId that board's sections, for pinterest_boardId / pinterest_sectionId. threads_locations: places a Threads post can be tagged with, their id for threads_location_id and name for threads_location_name; Meta allows 500 searches per account per 24 hours. tiktok_hashtags: TikTok's own hashtag suggestions for one keyword (about ten, exact matches first, then by views). tiktok_trending: what people search for on TikTok now (about twenty terms), or with query the searches related to it. The two TikTok discovery kinds need the Business connection. A field outside its kind is refused. state permissions_required means the account must be reconnected first. Place names, hashtag suggestions and search terms are third-party text inside an untrusted-data envelope.

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": {
      "kind": "<kind>",
      "accountId": "<accountId>"
    },
    "name": "lookup_platform_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindYesWhat to look up; each kind takes only its own fields below
genreNotiktok_music: TikTok genre value, e.g. POP, HIP_HOP/RAP, ELECTRONIC, R&B/SOUL, LATIN, ROCK, LO-FI; default ALL
queryNoinstagram_audio: song or artist, omit for trending (at most 100 characters). threads_locations, required: a place name or address (1 to 200). tiktok_trending: related searches for this term, omit for the trending list (1 to 255)
boardIdNopinterest_boards: a board id; returns that board's sections instead
countryNotiktok_music: two-letter country code the ranking is for; default US
keywordNotiktok_hashtags, required: one word or short phrase
languageNotiktok_hashtags: TikTok language code, e.g. en, de-DE, fr, pt-BR (default en)
accountIdYesThe account's accountId, on the kind's platform (see list_accounts)
dateRangeNotiktok_music: trending window; default 7DAY
workspaceNoAct in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace.
audio_typeNoinstagram_audio: 'music' (default) is the catalog Meta authorizes for third-party apps (royalty-free library tracks, not the chart songs of Instagram's in-app library), 'original_sound' is creators' uploads (where chart songs turn up, as covers, remixes or the song itself), 'all' searches both with originals first (the widest net for a specific song)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare it as a non-destructive, open-world read; the description adds substantial behavior on top: Meta's 500-searches-per-account-per-24-hour cap, the account-connection refusal path, the reconnect-required error state, the fact that omitting query yields trending rather than search results, and that place names/hashtags/terms arrive in an untrusted-data envelope. These are operational facts an agent cannot get from the annotations or schema.

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

Conciseness3/5

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

It is front-loaded with the core purpose, but the body is one dense paragraph enumerating six kinds, with no list structure to help an agent parse which clauses apply to which kind. Several clauses duplicate schema parameter descriptions (genre narrowing, query-omitted behavior, boardId returning sections), so not every sentence earns new information.

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?

There is no output schema, so the description must carry return values, and it does for every kind (audio_id/title/display_artist/duration_in_ms/preview link; id/title/artist/durationSec/coverUrl/previewUrl; boards and sections; location id and name; roughly ten hashtags; about twenty search terms). Combined with the per-kind preconditions and rate limits, nothing an agent needs to call it correctly is missing.

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, but the description adds cross-kind meaning the schema does not: it explains that an instagram_audio audio_id becomes instagram_audio_id downstream, that a tiktok_music id becomes tiktok_music_id, that boardId switches pinterest_boards from boards to sections, and that genre narrows rather than searches. The mapping of returned values to consuming fields is genuinely useful, though a few kind notes restate the schema.

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 opening sentence gives a specific verb and resource ('looks up the values a post's platform options take, for one connected account, by kind') and then enumerates each of the six kinds, so an agent can tell exactly what it returns. It also positions itself against siblings by naming where the returned ids are consumed (schedule_post/edit_post platformSpecificContent) and by pointing to get_tiktok_creator_info as a prerequisite.

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

Usage Guidelines5/5

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

Every kind carries its own conditions: instagram_audio is 'Facebook-connected Instagram accounts only', the two TikTok discovery kinds 'need the Business connection', tiktok_music applies only to accounts whose get_tiktok_creator_info says musicSelectable true, and pinterest_boards switches behavior when boardId is supplied. Prerequisite failures and their remedies are stated explicitly ('state permissions_required means the account must be reconnected first', a refusal naming the fix), which is exactly the routing guidance an agent needs.

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.