Skip to main content
Glama

Last Price

create_scrape_job

Create a hosted scrape job that reads prices from one public https page with CSS selectors, on a schedule or on demand with run_scrape_job. Try the selectors first with preview_scrape_job. Hosted scraping is behind a release flag: until it is on for your workspace this answers 501 hosted_scraping_not_enabled. Runs honour robots.txt and fetch only public https pages. Needs a Last Price credential with the commerce:configure scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.

Input Schema

NameRequiredDescriptionDefault
urlYesThe public page to read. Must start with https://.
nameYesA name for the job.
enabledNofalse pauses the schedule.
currencyNoThree-letter ISO 4217 code, such as USD.
scheduleNoHow often the job runs. manual runs only with run_scrape_job.
verticalNoThe vertical the prices belong to, such as saas.
plan_selectorNoCSS selector for the plan name beside each price.
price_selectorYesCSS selector for the price elements.
auto_contributeNoWhether run results are contributed to the shared price pool.
extraction_modeNocss reads the selectors only; css_with_llm_fallback asks a model when they find nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-destructive, non-idempotent write with no open-world access. The description adds the behavior an agent cannot get elsewhere: the 501 hosted_scraping_not_enabled failure mode, robots.txt compliance, the https-only fetch restriction, the required commerce:configure credential scope, and the sandbox-key 403 refusal. This is exactly the beyond-annotation context that prevents wasted or failing calls.

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 purpose and the preview-first guidance, then the failure modes. Every sentence carries distinct operational value, though the run of short prerequisite sentences (flag, robots.txt, scope, workspace) reads as a checklist rather than prose and could be tightened slightly.

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?

Ten parameters, three required, no output schema — the description covers creation semantics, the precondition chain, the credential and workspace requirements, and the sibling relationship for both validation and execution. Nothing material is missing for an agent to decide to call it and call it correctly.

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%, so all ten parameters (including the two enums and their per-value semantics) are already documented in the schema. The description only reinforces 'CSS selectors' and 'one public https page'; it adds nothing about auto_contribute or extraction_mode trade-offs beyond what the schema states. 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?

Specific verb+resource with scope: 'Create a hosted scrape job that reads prices from one public https page with CSS selectors.' The addition of 'on a schedule or on demand with run_scrape_job' cleanly distinguishes it from preview_scrape_job (validation) and run_scrape_job (execution), which are the two closest siblings in a very large tool list.

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: 'Try the selectors first with preview_scrape_job' gives the prerequisite step, and 'on demand with run_scrape_job' gives the execution alternative. It also states the gating conditions (release flag → 501, claimed workspace → 403) that determine whether calling it is even viable, which is stronger than most usage guidance.

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