Skip to main content
Glama

leadmarina

Schedule a recurring search

create_automation

Create an automation: re-run a search on a schedule and send the results somewhere automatically. Pass cities as plain strings (e.g. ['Austin, TX', 'Dallas, TX']) — they're resolved for you. IT SPENDS LEADS ON EVERY RUN, one per result, so confirm the niche, cities and cadence with the user before creating one. A destination of 'close', 'ghl' or 'google_sheets' requires that integration to be connected already (Close also needs one manual export first to save its field mapping); 'csv' | 'xlsx' | 'json' emails a file and needs nothing set up. Up to 20 automations, 25 cities each.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
citiesYesCities to search, e.g. ['Austin, TX'] (max 25).
cadenceYesHow often it repeats.
keywordYesThe niche to search, e.g. 'roofing contractor'.
start_atNoISO timestamp for the first run. Defaults to now (runs on the next tick, within 15 min).
destinationNoWhere each run's leads go. 'none' just saves them to the library.
spreadsheet_idNogoogle_sheets only: append to this existing LeadMarina-created sheet.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
noteNo
citiesNo
cadenceNo
keywordNo
destinationNo
next_run_atNo

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already mark this as a write operation with open world implications, but the description goes further by disclosing that each run spends leads (one per result), which is a critical side effect. It also reveals nuances like 'Close also needs one manual export first to save its field mapping' and that 'csv' | 'xlsx' | 'json' require no setup, adding substantial behavioral context beyond the annotations.

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 three sentences long and front-loaded with the primary purpose. It packs in essential warnings and limitations without excessive fluff, though the capitalized warning sentence ('IT SPENDS LEADS ON EVERY RUN...') may be slightly jarring but effectively emphasizes the risk. Each sentence earns its place.

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 creation tool with an output schema, the description covers all major aspects: what the tool does, cost implications, integration requirements, and limits. It does not need to explain return values because the output schema exists. The inclusion of the 20-automation limit and 25-cities-per-run cap adds important context that would otherwise be 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 parameters are already documented. The description adds extra meaning by clarifying that cities can be passed as plain strings and are resolved automatically, and by explaining that certain destinations require existing integrations while others do not. This goes beyond the schema's basic descriptions, though it does not cover every parameter in equal depth.

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 starts with 'Create an automation: re-run a search on a schedule and send the results somewhere automatically,' which uses a specific verb (create) and resource (automation) and explains the core functionality clearly. It distinguishes from sibling tools like delete_automation, update_automation, and list_automations by focusing exclusively on creation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use this tool: it creates scheduled recurring searches and requires user confirmation due to lead spending. It also mentions integration prerequisites and limits (up to 20 automations). However, it does not explicitly name alternatives (e.g., update_automation for modifying existing automations), so it stops short of a 5.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a distinct purpose: search_leads runs live searches while query_leads filters collected leads; create/delete/update_automation form a clear lifecycle; list_* tools target different resources. Descriptions explicitly disambiguate potential overlaps like search/query and list_searches/list_views.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., create_automation, list_integrations, export_leads). The verbs are semantically appropriate (get, list, search, query, create, update, delete, enrich, export) and the pattern is uniform throughout.

Tool Count5/5

13 tools is well within the ideal range and covers the full lead-generation workflow without redundancy. Each tool addresses a concrete need, from searching and enrichment to export and automation management.

Completeness5/5

The tool set covers the entire lifecycle: search_leads and enrich_domains acquire leads, get_search_results and query_leads retrieve them, export_leads pushes them out, and automations re-run searches on schedule. Integration checking and balance are also included, leaving no obvious dead ends or missing essential operations.

Resources