Skip to main content
Glama
ghl-mcp-server-v2

ghl-mcp-server-v2

by zackscriven

ghl_blog_check_url_slug_exists

Read-onlyIdempotent

Checks if a blog post URL slug already exists for a location and helps confirm uniqueness before publishing.

Instructions

Check url slug The "Check url slug" API checks whether a blog post url slug is already in use for the location. Call it before publishing a blog post. Endpoint: GET /blogs/posts/url-slug-exists (Version header: v3; source: v3/blogs-v3.json) Requires a Sub-Account (location) token. OAuth scopes: blogs/check-slug.readonly

Input Schema

NameRequiredDescriptionDefault
postIdNoIdentifier of the existing post to exclude from the uniqueness check
urlSlugYesURL slug to check for uniqueness
locationIdYesSub-account (location) identifier the slug is being checked under

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.1.0
    • addedInput schema / properties / locationId / description
      Added value: +"Sub-account (location) identifier the slug is being checked under"
    • addedInput schema / properties / locationId / example
      Added value: +"ve9EPM428h8vShlRW1KT"
    • addedInput schema / properties / postId / description
      Added value: +"Identifier of the existing post to exclude from the uniqueness check"
    • addedInput schema / properties / postId / example
      Added value: +"66c381b38be80858b9af62b6"
    • addedInput schema / properties / urlSlug / description
      Added value: +"URL slug to check for uniqueness"
    • addedInput schema / properties / urlSlug / example
      Added value: +"my-blog-post"
  2. First observedv2.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so the safety profile is covered; the description adds that a Sub-Account (location) token is required and names the OAuth scope blogs/check-slug.readonly, which is real operational context. It does not describe the shape of the answer returned (e.g. a boolean exists flag), which is the remaining behavioral gap.

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?

The functional sentence and the usage cue are front-loaded and the endpoint/auth metadata is compact. The leading "Check url slug" line restates the name and title rather than earning its place, a small redundancy in an otherwise tight definition.

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?

For a simple read-only existence check, the description covers purpose, timing, endpoint, token type, and scope. There is no output schema and the description does not say what the response contains, which is the one thing an agent still has to discover by calling it.

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 schema already documents urlSlug, locationId, and the postId exclusion; the description only implies the slug and location scoping. It adds nothing about the postId exclude-from-check semantics or slug format constraints, so baseline 3 applies.

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?

The second sentence gives a precise verb and resource: it checks whether a blog post url slug is already in use for the location. That distinguishes it cleanly from the mutation siblings like ghl_blog_post_create and ghl_blog_update_post, which are the tools an agent might otherwise confuse it with.

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?

It states the timing explicitly: "Call it before publishing a blog post," which ties the check to the create/publish workflow. It does not name a specific alternative tool or say when the check can be skipped, so it stops short of full when/when-not guidance.

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

Deploy Server

Other Tools