Skip to main content
Glama

Make page content a list

bind_list
Destructive

Turns repeated blocks on a page (a menu) into a list: the first call previews items and markup; with confirm_token it creates the list, adds the items and publishes the page.

Input Schema

NameRequiredDescriptionDefault
listYes
pathYesPage, e.g. menu.html
siteYes
fieldsYes{field: selector in a block; "": the block}
importNoAdd items to a list that has some
selectorYesRepeated blocks, e.g. ".menu li"
confirm_tokenNo

Output Schema

NameRequiredDescriptionDefault
blocksNo
agent_messageNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / agent_message
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / blocks
      Added value: +{
      +  "type": "number"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / properties / list / description
      Removed value: -"List name"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "confirm_token": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. Changed1 schema field changed
    • removedInput schema / properties / confirm_token / description
      Removed value: -"From the first call"
  4. Changed2 schema fields changed
    • changedInput schema / properties / confirm_token / description
      Previous value: -"From the first call: approval status"New value: +"From the first call"
    • removedInput schema / properties / site / description
      Removed value: -"Site name"
  5. Changed4 schema fields changed
    • changedInput schema / properties / confirm_token / description
      Previous value: -"From the first call: re-call with it for the approval status"New value: +"From the first call: approval status"
    • removedInput schema / properties / selector / maxLength
      Removed value: -200
    • changedInput schema / properties / site / description
      Previous value: -"Site name, e.g. brave-otter-4821"New value: +"Site name"
    • changedOutput schema / (root)
      Previous value: -{
      -  "additionalProperties": {},
      -  "properties": {
      -    "agent_message": {
      -      "type": "string"
      -    },
      -    "confirm_token": {
      -      "type": "string"
      -    },
      -    "error": {
      -      "description": "On failure (isError): {code, message}"
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  6. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint, non-idempotent and open-world, so safety is partly covered; the description adds the crucial two-step behavior (first call only previews items and markup, repeat with confirm_token to actually create and publish). That is real context beyond the annotations, though it does not say whether the publish step is reversible or required permissions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One compact sentence front-loads the core transformation, then the two-mode behavior, with no filler. Every clause carries information an agent needs.

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 an output schema present, return values need no explanation, and the preview/confirm flow plus publish side effect are disclosed. Still, for a destructive 7-parameter mutation, it omits what the preview returns, whether the publish can be undone (undo_list_change exists), and the role of import/list.

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 57%; selector, fields and path are documented in the schema, and the description adds the meaning of confirm_token (triggering creation rather than preview). But list, import and site get no explanation in either place, so it does not fully compensate for the coverage gap.

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?

States a specific verb and outcome: turns repeated blocks (a menu) on a page into a list, and names the exact input shape (repeated blocks). The two-phase preview/confirm behavior further distinguishes it from list-creation siblings like save_list or add_list_items.

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 description implies when it applies (only when content is repeated blocks such as a menu) and explains the confirm_token sequence, which is useful usage context. However, it never explicitly contrasts with add_list_items, import_list_items, or save_list, so an agent must infer which list tool to pick.

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