Skip to main content
Glama

Import from an external source

import_from_source
Read-onlyIdempotent

Import a recipe or lab protocol from an external source into a Rhylthyme program. Sources: spoonacular (recipes, preferred), themealdb (recipes, fallback), protocolsio (lab protocols), cooklang (.cook recipe URL — action must be 'import', query is the URL; GitHub blob URLs are auto-converted), opentrons (Opentrons Protocol API v2 .py — pass URL as query, or paste source via text; action must be 'import'), benchling (the user's connected library). Actions: search (no login needed), import and random (need the user's Rhylthyme token from login). After import, run the returned program through visualize_schedule. Pass enrich: true with action='import' to split the import into parallel tracks with cross-track triggers (one model call, capped per day; inferred steps are marked metadata.inferred).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoRaw source text (Opentrons .py) when the user pasted it instead of a URL.
queryNoSearch keywords (search), or the URL / id to import (import).
tokenNoUser's Rhylthyme access token from the **login** tool. Required for action='import' and action='random' on every source, and for anything with source='benchling'. Not needed for action='search' on public sources.
actionYes
enrichNoSplit the import into parallel tracks with cross-track triggers (action='import' only). Runs the relationship turn of the plan_schedule prompt server-side against the imported step list: steps, durations and resources are kept as imported, tracks and start triggers are inferred, and any step the model adds is marked `metadata.inferred`. Costs a model call and is capped per day; if it fails you still get the un-enriched program.
sourceYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, and destructiveHint=false. The description adds substantial context beyond these: token authentication needs, a per-day cap on the enrich feature, fallback behavior if enrich fails ('if it fails you still get the un-enriched program'), and automatic conversion of GitHub blob URLs. This goes well beyond the annotation hints and gives the agent a clear behavioral model.

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 description is lengthy but every sentence carries necessary information: purpose, sources, actions, auth, enrich behavior, and post-import step. It is front-loaded with the purpose and then systematically covers each aspect. It could potentially be condensed, but given the complexity (6 parameters, multiple sources, and modes), the verbosity is justified. No filler or redundancy.

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 tool with six parameters, seven sources, three actions, and a special enrich mode, the description covers all necessary operational details: source-specific constraints, token prerequisites, per-day limits, failure fallback, and a recommended follow-up tool. There is no output schema, but the description clarifies that a program is returned and suggests visualize_schedule. The agent has everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Though the schema covers 67% of parameters with descriptions, the description adds significant meaning to all six: it explains the source enum values (spoonacular, themealdb, protocolsio, cooklang, opentrons, benchling, llm-text) with usage notes, clarifies action semantics (search vs import vs random), explains token requirements per action, and details the enrich flag's behavior. This goes far beyond the bare enum and type definitions.

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 states a precise action ('Import a recipe or lab protocol from an external source into a Rhylthyme program') and enumerates specific sources and actions, distinguishing it from siblings like import_text (which handles text input) and search_public_recipes (which only searches). It is unambiguous about scope and behavior.

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?

Provides explicit guidance: lists preferred vs fallback sources, specifies when token is required vs not, explains action-specific requirements (e.g., cooklang and opentrons require action='import'), and directs the agent to run the returned program through **visualize_schedule** after import. It also details the enrich option and its conditions, leaving no ambiguity about when to use this tool versus alternatives.

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.