Skip to main content
Glama

Plan a web task

plan_run
Read-onlyIdempotent

Preview the approved destinations and read-only steps for a public web task before running it.

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": "plan_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoApproved public HTTPS URL.
goalNoDescribe the read-only task, such as find relevant public sources and gather excerpts.
modeNoOptional execution mode. Omit to choose based on the query and URLs.
urlsNoApproved public sources to use for this task.
queryNoPlain-language public search terms or evidence keywords.
providerNoSearch index. Choose Wikimedia for general reference or MDN for web development documentation.wikimedia
maxSourcesNoMaximum number of public sources to read.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / urls / description
      Added value: +"Approved public sources to use for this task."
  2. First observed

TDQS

B3.4/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description reinforces this by framing the output as "read-only steps" and "approved destinations," but it does not say whether the preview is free of side effects like fetching pages, and no output schema exists to explain the plan's shape.

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?

A single front-loaded sentence with no filler, leading with the verb and the two things being previewed. It borders on terse given the tool's seven parameters, but nothing is wasted or buried.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With zero required parameters and no output schema, the description should clarify which inputs the plan actually needs (url vs. urls vs. query) and what a returned plan contains. Instead it stays at a high level, leaving the agent to infer the preview's response shape and the minimal viable input set.

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 coverage is 100%, so every parameter (url, urls, goal, query, mode, provider, maxSources) is already documented in-schema. The description's phrases "approved destinations" and "read-only steps" loosely echo urls/urls and goal but add no syntax, constraints, or interactions beyond the schema, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description pairs a specific verb ("Preview") with a specific resource ("approved destinations and read-only steps for a public web task"), and the clause "before running it" implicitly separates it from run_web_task. It is clear what the tool produces, though it never names the run tool it precedes.

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

Usage Guidelines3/5

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

"before running it" implies a pre-flight/dry-run placement in the workflow, which is useful sequencing guidance. However, it never states when a plan is unnecessary versus when to call run_web_task directly, nor does it name any alternative tool.

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