Skip to main content
Glama

scrapewise_get_scraper_v2

Read-onlyIdempotent
        Same get-by-id semantics as `scrapewise_get_scraper`, but returns the richer
        `ScraperSuperDTO` shape (full schema body inline, full group body inline,
        computed last-N-run stats). Use V2 when the agent wants the full picture in
        one call instead of composing scrapewise_get_scraper + a separate group fetch
        + a separate schema fetch. V2 is the preferred shape for new tooling — V1 is
        kept for portal back-compat.

        Args:
          - id (string, path param, required): scraper's MongoDB ObjectId. Get from
            scrapewise_get_scraper_list.

        Returns:
          ScraperSuperDTO (a strict superset of ScraperDTO, so any V1-compatible
          consumer can ignore the extra fields). Same id, name, type, sourceConfig,
          itemsConfig — plus inlined `schema`, inlined `group`, and `runStats` rolled
          up from the most-recent N runs.

        Examples:
          - Use when: "give me everything about scraper {id}" → V2 in one round-trip
          - Use when: building a UI that shows scraper + group + schema together
          - Don't use when: agent only needs id+name+type (use V1 to save bytes)
          - Don't use when: you want the customer's whole list → use
            scrapewise_get_scraper_list and call V2 only on the chosen scraper

        Error Handling:
          Same as scrapewise_get_scraper (400 CustomerError envelope on missing id;
          401 / 500 standard).

[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.

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": {
      "id": "<id>"
    },
    "name": "scrapewise_get_scraper_v2"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered; the description adds value with error behavior (400 CustomerError envelope on missing id, 401/500 standard) and a back-compat note that V2 is a strict superset of V1. It does not mention the cost of the runStats rollup or any latency/size implications of fetching inlined schema and group bodies, which is the main remaining behavioral gap.

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?

Content is front-loaded with the V1/V2 distinction, then structured into Args, Returns, Examples, and Error Handling, with each section carrying non-redundant information. It is slightly long for a single-parameter getter, but no sentence is padding.

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 one-parameter read-only getter with no output schema, the description supplies the missing return-shape information (inlined schema, inlined group, runStats over last N runs) and the error envelopes. Combined with annotations covering safety, an agent has everything needed to select and invoke it correctly, subject only to the runtime hint about parsing dynamic payloads defensively.

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 0%, so the description carries the burden and does so: it identifies id as a required string path parameter, specifies it is a MongoDB ObjectId, and tells the agent where to obtain it (scrapewise_get_scraper_list). That is meaningful compensation for an otherwise bare {"id": string} schema, though it does not give a format example or validation guidance.

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 names a specific operation (get-by-id) and resource (scraper), and immediately distinguishes it from the sibling scrapewise_get_scraper by contrasting the return shape (ScraperSuperDTO vs ScraperDTO). It further characterizes V2 as a superset that inlines schema, group, and runStats, so an agent can differentiate the two without inspecting either schema.

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?

It gives explicit positive conditions ("give me everything about scraper {id}", building a UI showing scraper + group + schema) and explicit exclusions (agent only needs id+name+type → use V1; whole list → use scrapewise_get_scraper_list and call V2 on the chosen item). It also pins V2 as the preferred shape for new tooling, which resolves the V1/V2 choice directly.

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.