publish_page
Publishes a SharePoint Online page using its site ID and page ID, making the page live for users.
Instructions
Publish a page
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| siteId | Yes |
Publishes a SharePoint Online page using its site ID and page ID, making the page live for users.
Publish a page
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | Yes | ||
| siteId | Yes |
Changes observed during successful MCP inspections.
v1.0.0Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full behavioral burden, and it delivers almost nothing. It does not disclose whether publishing is reversible, whether it requires prior draft/unpublished state, what permissions are needed, or what happens to the live site content afterward.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The three-word description is front-loaded and free of waste, but its brevity reflects under-specification rather than conciseness. For a mutation tool with two required parameters, this is far too little text to earn its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no annotations, no output schema, no parameter descriptions, and two required undocumented inputs, the definition is inadequate for an agent to call this mutation correctly. Nothing about preconditions, side effects, or return behavior is covered.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0% for both required parameters (siteId, pageId), and the description adds no information about them. It does not explain whether these are IDs versus names, what format they take, or where to obtain them, leaving both required inputs entirely opaque.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb ('Publish') and resource ('page'), which is a recognizable state transition rather than a tautology. However, it does not differentiate itself from siblings like update_page, create_page, or delete_page, which also mutate a page, so an agent must guess how 'publish' differs from a general update.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There is no guidance on when to use this tool versus update_page or create_page, no prerequisites (e.g., the page must exist as a draft), and no mention of alternatives. The agent only has the bare verb to infer intent from.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.