Skip to main content
Glama
bestpractices-mcp

bestpractices-mcp

by reponomics

prepare_update_script

Read-only

Generates a guarded form-fill script and included/excluded field report so users can review proposed updates without execution or saving.

Instructions

Prepare a guarded form-fill script and included/excluded field report. Does not execute or save it.

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": {
      "project_id": "<project_id>",
      "level": "<level>"
    },
    "name": "prepare_update_script"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftNo
levelYes
project_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-beta.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the description's 'Does not execute or save it' largely restates that. It does add value by disclosing the output shape (a field inclusion/exclusion report) and the notion of a 'guarded' script, though what makes the script guarded and how it behaves are never explained.

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?

Two short, front-loaded sentences with the scope constraint placed immediately after the purpose statement. No filler, though the brevity contributes to the parameter gaps noted elsewhere.

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

Completeness2/5

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

An output schema exists so return values needn't be re-explained, but for a tool taking a free-form nested 'draft' object and a leveled enum, the description leaves too much unsaid about what each parameter means and what 'guarded' entails. A mutation-adjacent planning tool (openWorldHint=true) warrants more behavioral context.

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

Parameters2/5

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

Schema description coverage is 0% and the description explains none of the three parameters. The nested 'draft' object with arbitrary additionalProperties and the six-value 'level' enum (passing/silver/gold/baseline-*) are entirely unaddressed, so the agent gets no semantics from either structured data or the description.

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 names a specific verb ('Prepare') and two concrete artifacts ('guarded form-fill script' and 'included/excluded field report'), which distinguishes it from siblings like update_draft (executes the change) and prepare_update_url. 'Guarded' and 'form-fill' are left undefined, but the core purpose is clear.

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?

The clause 'Does not execute or save it' implies this is a dry-run/planning step preceding update_draft, which is useful implied guidance. However, no alternative is named explicitly and no exclusions or prerequisites (e.g., when to use prepare_update_url instead) are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.