Skip to main content
Glama

get_page_diff

Retrieve the latest diff for a PukiWiki page, showing added and removed lines so you can review recent edits and track changes.

Instructions

Return the latest diff (added/removed lines) for a page.

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": {
      "page": "<page>"
    },
    "name": "get_page_diff"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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. It discloses the return content (added/removed lines), and "Return" implies a read, but it says nothing about what happens if the page has no diff, what "latest" is relative to (a specific version? the most recent save?), or whether any permissions are needed.

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?

One front-loaded sentence with no filler; the key noun phrase ("latest diff") arrives early. It is efficient, though the brevity edges into under-specification rather than tight completeness.

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?

This is a simple one-parameter read tool with no output schema, so the bar is low, and the description does state what is returned. However, the meaning of "latest" and the format of the page identifier are both left open, which is enough to cause a failed or misinterpreted call.

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?

The single parameter "page" has 0% schema description coverage, so the description must compensate for the missing details, but it adds nothing about whether the parameter is an ID, title, or URL. The one ambiguity an agent would actually hit when invoking this tool is left unresolved.

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 uses a specific verb ("Return") and a specific resource ("the latest diff (added/removed lines) for a page"), and it even clarifies the shape of the payload with "added/removed lines." It is clearly distinct from read_page or delete_page, though it does not explicitly distinguish itself from the sibling get_recent_changes, which sounds similar in intent.

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 explicit when-to-use statement, no prerequisites, and no named alternative. The word "latest" hints that this is for inspecting recent edits, but the agent must infer that from the wording alone, and nothing says when get_recent_changes would be the better choice.

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