Skip to main content
Glama
privacykey
by privacykey

get_policy_version_diff

Compare a privacy policy version against its immediate predecessor to see line and word changes. Returns 404 if no earlier version exists.

Instructions

Get a line+word diff between a privacy-policy version and the version immediately before it for the same app. Returns 404 if the given version is the first scrape for its app.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionIdYesThe id of the policy version to diff against its immediate predecessor.
Behavior4/5

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

Without annotations, the description adds the key behavioral detail of returning a 404 when the version is the first scrape, and specifies the diff type (line+word). It does not cover other potential traits like auth or rate limits, but for a read-only diff tool this is adequate.

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?

Two short sentences; the first states the action and scope, the second notes an important edge case. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the simple single-parameter tool and no output schema, the description covers purpose, scope, and a key error condition. It lacks explicit output format details, but the 'line+word diff' phrasing gives a general idea.

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?

The only parameter, versionId, has a 100% schema description that already explains its purpose. The description adds no additional parameter semantics beyond the schema.

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?

Description states the specific operation: getting a line+word diff between two consecutive versions of the same app. It clearly distinguishes from siblings like compare_apps (which compares apps) by specifying 'for the same app' and 'immediately before it.'

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

Usage Guidelines4/5

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

The description implies the tool is for viewing changes between adjacent versions, but does not explicitly mention alternatives or when not to use it. Sibling tools like compare_apps exist, but no exclusions are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/privacykey/pt-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server