Skip to main content
Glama

Postemi: Social Media Scheduler

search_channel_options

Read-onlyIdempotent

Search a channel's platform by keyword for something a post can target: a subreddit on Reddit, a community on Lemmy, a channel on Farcaster, or audio for an Instagram Reel. Call it when get_integration_schema's "options" names search_channel_options for the channel. Writes nothing.

Channels with a search: Reddit: subreddits with information; Instagram (Facebook Business): search audio (music or original sounds) to attach to a Reel via the "audio" setting, an empty query returns trending audio; Lemmy: search for Lemmy communities by keyword; Farcaster: search channels. Other channels have none; use list_channel_options for them.

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": {
      "integrationId": "<integrationId>",
      "query": "<query>"
    },
    "name": "search_channel_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYesWhat to search for. On Instagram an empty query returns trending audio.
audioTypeNoInstagram only: the kind of audio. Defaults to music.
integrationIdYesThe channel, an id from list_integrations.

Output Schema

NameRequiredDescriptionDefault
outputYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already establish readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint, so the safety profile is covered. The description still adds real behavior: which platforms are searchable, that an empty Instagram query returns trending audio, and that searched audio is attached to a Reel via the 'audio' setting. It does not discuss rate limits or pagination, but with annotations plus an output schema that gap is minor.

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?

The definition is front-loaded: capability first, then the routing condition, then a compact per-channel breakdown. The platform-by-platform list is slightly long but each entry carries distinct information, and the closing fallback sentence prevents wasted calls.

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?

For a three-parameter search tool with full schema coverage, an output schema, and rich annotations, the description covers capability, routing, per-platform applicability, empty-query behavior, and the fallback tool. Nothing an agent needs in order to call this 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. The description nevertheless adds meaning beyond the schema by explaining why audioType exists ('music or original sounds ... to attach to a Reel via the "audio" setting') and by repeating that an empty query on Instagram yields trending audio, which tells the agent how to exploit the required query field intentionally rather than accidentally.

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 description gives a specific verb and resource (search a channel's platform by keyword for a post target) and then concretizes it per network: subreddit on Reddit, community on Lemmy, channel on Farcaster, audio for a Reel on Instagram. That makes it distinguishable from list_channel_options without opening either schema.

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?

It states an explicit selection rule ('call it when get_integration_schema's "options" names search_channel_options') and an explicit exclusion with the alternative ('Other channels have none; use list_channel_options for them'). It also notes that channels not listed in the breakdown simply don't support this search, which is the exact when-not 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.