Skip to main content
Glama

Chop it: meal planning, recipes, pantry and shopping

Import a recipe from a link

import_recipe_from_url

Imports a recipe from a link (TikTok, Instagram or any recipe website), or from pasted caption text when the link can't be read, restructures it to Chop it's recipe standard and saves it to the user's library. A needs_review result carries a preview and the issues found; the corrected recipe can then be saved with save_recipe. Imports that need paid processing require confirmPaidImport after the user agrees. Limited per conversation. Requires a linked Chop it account.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "import_recipe_from_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoTikTok, Instagram or website link to a recipe.
captionNoPasted caption/recipe text — used alone or to supplement the url.
requestIdNoGenerate a unique ID before starting a new import. Reuse it until that import completes, including confirmation and recovery; a later new import needs a new ID.
confirmPaidImportNoTrue only after the user explicitly approves 1 credit once the 10 free weekly imports are exhausted.

Output Schema

NameRequiredDescriptionDefault
titleNo
appUrlNo
statusYes
keepUrlNo
messageYes
recipeIdNo
failedRulesNo
recipePreviewNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and openWorldHint=true; the description adds the substantive traits: the import mutates by saving into the library, may return a needs_review outcome with a preview and detected issues, may require a paid credit confirmation, and is rate-limited per conversation. The requestId reuse instructions also disclose recovery behavior for a non-idempotent operation, which is exactly the context the idempotentHint=false flag leaves open.

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-loaded with the core action, then the fallback path, then the exception flows, in a logical order with no filler sentences. It is dense and slightly run-on (one sentence chains source, restructuring, and saving), and contains a typo ('Chop it's'), but every clause carries operational 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?

For a non-idempotent, open-world import tool with an output schema already covering the return payload, the description supplies the remaining essentials: auth requirement, per-conversation quota, the paid-credit gate, and the follow-up path for review-flagged results. An agent can call this correctly and handle all described outcomes without further information.

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 still adds the conditional relationship between url and caption ('when the link can't be read') and the gating condition for confirmPaidImport (after explicit user approval of 1 credit past the 10 free weekly imports). It does not elaborate on requestId beyond what the schema already says, so it stops short of full marks.

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 ('Imports a recipe from a link') and enumerates accepted sources (TikTok, Instagram, any recipe website) plus the caption fallback. It also names where the result goes (restructured to the Chopit standard, saved to the user's library), which separates it from save_recipe and import_recipe_from_image without needing the schemas.

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?

Explicit routing: use caption text when the link can't be read; when a needs_review result comes back, follow up with save_recipe; when paid processing is required, confirm with confirmPaidImport only after user agreement. It also sets preconditions (linked Chopit account) and a frequency limit (limited per conversation), so the agent knows both when to call it and what to do afterwards.

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