Skip to main content
Glama

Scan a link

scan_link

Use this when the user asks CrateWire to identify the tracks in a public Instagram post or reel, a TikTok video, or one DJ set on YouTube, SoundCloud or Mixcloud, and CrateWire may not know that link yet. If CrateWire already knows this post, or this account has already scanned this set, the result comes back at once and no scan is used. A set this account has not scanned uses set minutes, even when CrateWire has seen that set before. Otherwise it starts a scan for this CrateWire account, exactly like pasting the link in the CrateWire app: a post uses one scan from the account's monthly scan allowance, a set uses set minutes from the account's plan, and the result is ready later through find_known_tracks or get_set_tracklist. Starting a scan needs an active CrateWire plan; an account without one may get one post scan from an AI app, once, shown as the first 3 tracks. Each call counts as one of the account's 60 link lookups a day. Do not use it when the user only wants what is already identified (use find_known_tracks), and do not send it an Instagram story, highlight, profile or song page link, a playlist or an artist profile: it refuses those.

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": "scan_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe full link to scan: a public Instagram post or reel, a TikTok video, or one DJ set on YouTube, SoundCloud or Mixcloud, for example https://www.tiktok.com/@example.dj/video/7300000000000000000.
accept_partialNoSets only: send true, for example true, to scan just the part of a set that the account's remaining set minutes cover, after an answer said the set is longer than the minutes left; leave it out otherwise.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / accept_partial / description
      Previous value: -"Scan only the part of a set your remaining monthly minutes cover."New value: +"Sets only: send true, for example true, to scan just the part of a set that the account's remaining set minutes cover, after an answer said the set is longer than the minutes left; leave it out otherwise."
    • addedInput schema / properties / url / description
      Added value: +"The full link to scan: a public Instagram post or reel, a TikTok video, or one DJ set on YouTube, SoundCloud or Mixcloud, for example https://www.tiktok.com/@example.dj/video/7300000000000000000."
  2. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: it discloses the caching rule (known post or previously scanned set returns instantly and consumes nothing), the quota mechanics (one scan per post vs. set minutes), the active-plan prerequisite, the one-time 3-track freebie for plan-less accounts, the 60-lookups-per-day cap, and that results arrive asynchronously via find_known_tracks or get_set_tracklist. The only omission is anything about failure/partial-failure reporting beyond the listed refusals, so it falls just short of a 5.

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?

Front-loads the trigger condition and platform scope before the quota and exclusion details, which is the right order. It is a single dense paragraph of long run-on sentences carrying three or four distinct rule families, so it is well-sized for the complexity but would read better segmented.

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?

Covers everything an agent needs for a non-idempotent, open-world, quota-consuming scan: cost model, plan gate, rate limit, caching short-circuit, refusal inputs, and where the eventual result surfaces. With only two well-documented parameters and no output schema required, nothing material 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 real meaning to accept_partial by explaining that a set consumes the account's remaining set minutes and that a set may be longer than the minutes left. That contextual link between the parameter and the quota model is value beyond the schema text.

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 outcome (identify the tracks in a link) and enumerates exactly which resources qualify: public Instagram post/reel, TikTok video, one DJ set on YouTube, SoundCloud or Mixcloud. It is clearly separable from find_known_tracks and get_set_tracklist, which are named as the retrieval paths.

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 when-to-use (user asks to identify tracks in a link CrateWire may not know), explicit when-not-to-use (use find_known_tracks when the user only wants what is already identified), and an enumerated refusal list (stories, highlights, profiles, song pages, playlists, artist profiles). Nothing about selection is left to inference.

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