Skip to main content
Glama
bestpractices-mcp

bestpractices-mcp

by reponomics

prepare_update_url

Read-only

Builds a BadgeApp edit URL and included/excluded field report from a project ID, level, and draft, then verifies the target via public read for review.

Instructions

Prepare a BadgeApp edit URL and included/excluded field report. Verify the target by public read. Supplied text is encoded without modification. BadgeApp documents trimming leading and trailing whitespace from URL-proposed justification text when applying it to the edit form. Does not open 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_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
draftNo
levelYes
project_idYes
override_fieldsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0-beta.1

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, non-destructive, openWorld, non-idempotent), so the bar is lower; the description adds real value by disclosing the public-read verification step and, importantly, the BadgeApp whitespace-trimming caveat that affects how supplied justification text is applied. It also confirms nothing is opened or saved. It stops short of describing the report's contents or failure modes.

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 purpose is front-loaded in the first sentence, and each subsequent sentence adds a distinct constraint (verification, encoding fidelity, trimming caveat, no side effects). Density is high with little filler, though the whitespace-caveat sentence is somewhat convoluted.

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?

An output schema exists, so return values needn't be explained, and the read-only/no-save behavior is clear. The significant remaining gap is that a tool with four parameters (including a nested object and an enum) has zero parameter documentation in either schema or description.

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% across four parameters, including a nested free-form draft object, an override_fields array, and an enum-constrained level. The description only obliquely gestures at 'included/excluded field report' and 'URL-proposed justification text' without mapping any meaning to project_id, level, draft, or override_fields, so it fails to compensate for the coverage gap.

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 and artifact: 'Prepare a BadgeApp edit URL and included/excluded field report,' which is concrete and distinguishable from a script-producing sibling. It does not explicitly name prepare_update_script as the alternative, so sibling differentiation is implied rather than stated.

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?

'Verify the target by public read' and 'Does not open or save it' give some procedural context about preconditions and scope. However, there is no explicit statement of when to choose this tool over prepare_update_script or the build/update draft tools, leaving the routing decision to inference.

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