Skip to main content
Glama

get_operation_guide

Check an operation's limits, availability, and billing before running it. Use this free, read-only guide to confirm platform support and avoid failed or costly extraction jobs.

Instructions

Check one operation before running it: its max_results, availability and a plain sentence on how it is billed. Free and read-only. Use it after discover_platforms and before extract_now, create_extraction, create_batch or create_schedule, especially for large or unfamiliar work. Returns platform, operation, capability and billing; fails if the platform does not offer the operation.

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": {
      "platform": "<platform>",
      "operation": "<operation>"
    },
    "name": "get_operation_guide"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformYesPlatform name from discover_platforms: instagram, tiktok, youtube, x or facebook. Example: instagram
operationYesOperation name from discover_platforms for the chosen platform, such as profile, posts, comments, followers, hashtag, search or adlibrary_search. Example: posts

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.1
    • changedInput schema / properties / operation / description
      Previous value: -"Operation returned by discover_platforms"New value: +"Operation name from discover_platforms for the chosen platform, such as profile, posts, comments, followers, hashtag, search or adlibrary_search. Example: posts"
    • changedInput schema / properties / platform / description
      Previous value: -"Platform returned by discover_platforms"New value: +"Platform name from discover_platforms: instagram, tiktok, youtube, x or facebook. Example: instagram"
  2. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it declares the operation is free and read-only, names the failure mode (fails if the platform does not offer the operation), and lists the returned fields. The only minor gap is the absence of any latency or rate-limit expectation for repeated checks, so it stops just short of the top mark.

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

Conciseness5/5

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

Three tight sentences: the action and its outputs first, then the safety/cost profile, then the workflow placement, then the return/error behavior. Every sentence carries new information and nothing is repeated from the schema.

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 two-parameter lookup with no output schema, the description supplies what is otherwise missing: what fields come back, that the call is free and read-only, and the error condition. Nothing an agent needs in order to invoke it correctly is absent.

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%, with both platform and operation documented including example values and provenance from discover_platforms. The description adds no syntax or constraint detail beyond that, so the baseline 3 applies.

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: check one operation before running it, returning max_results, availability, and a billing sentence. It is clearly distinct from discovery (discover_platforms) and execution (extract_now, create_extraction) siblings, so an agent can place it in the workflow without opening the 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?

Gives explicit ordering ('after discover_platforms and before extract_now, create_extraction, create_batch or create_schedule') plus a condition of emphasis ('especially for large or unfamiliar work'). Alternatives and when-not-to-use context are stated rather than inferred.

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