Skip to main content
Glama

create_webpage

Create a new ERPNext web page by supplying a title, route, and HTML content, with optional published status. Use it to add or prepare pages directly through the ERPNext MCP Server.

Instructions

Create a new Web Page in ERPNext

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": {
      "title": "<title>",
      "route": "<route>",
      "content": "<content>"
    },
    "name": "create_webpage"
  }
}

Input Schema

NameRequiredDescriptionDefault
routeYesRoute (URL path)
titleYesWeb Page title
contentYesHTML content
publishedNoPublished (1/0, optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and discloses almost nothing. It does not say whether route must be unique, what happens if published is omitted, whether the page is immediately live, or what permissions are required for a mutation.

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 zero waste. It is arguably too terse for a mutation tool, but nothing is redundant or buried.

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?

For a create/mutation tool with no annotations and no output schema, the description should explain the result of the call (e.g., that a document is returned or its name) and any uniqueness constraints on route. None of that is present, leaving meaningful gaps for an agent to guess at.

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 description coverage is 100%, so the four parameters (route, title, content, published) are already fully documented in the input schema, including the 1/0 convention for published. The description adds no meaning beyond that, so the baseline 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?

"Create a new Web Page in ERPNext" states a specific verb (create) and a specific resource (Web Page) with the target system named. It is distinguishable from generic siblings like create_document in spirit, but it never explicitly clarifies why one would use this instead of create_document for the Web Page doctype.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives such as create_document or bulk_create_documents. The only implied usage is 'when you need a web page', which the agent must infer entirely.

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