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

ghl-mcp-server-v2

by zackscriven

ghl_saas_get_agency_plans_deprecated

Read-onlyIdempotent

Fetch all agency subscription plans for a company ID using the legacy SaaS endpoint. Deprecated: requires an agency-level token and is slated for removal, so prefer the current agency-plans equivalent.

Instructions

DEPRECATED per spec — superseded by GET /saas/agency-plans/{companyId}. REQUIRES AN AGENCY-LEVEL (Company) TOKEN. [DEPRECATED per official docs — prefer the documented replacement if one exists.] [LEGACY FALLBACK — this endpoint is no longer in the live v3 docs (checked 2026-10-28) but is still served under the legacy Version header. Expect removal; prefer a current equivalent.] Get Agency Plans Fetch all agency subscription plans for a given company ID Endpoint: GET /saas-api/public-api/agency-plans/{companyId} (Version header: 2021-04-15; source: saas-api.json) Requires an Agency (company-level) token.

Input Schema

NameRequiredDescriptionDefault
companyIdYesCompany ID to get agency plans for

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/openWorldHint, so the safety profile is covered. The description adds genuinely additive context: the agency-level token requirement, the legacy Version header (2021-04-15), and the removal risk plus the date the docs were checked. It does not cover rate limits or response shape, but for a read-only endpoint that is minor.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The deprecation warning is stated three separate times across the header and two bracketed blocks, and the endpoint/version/token facts are repeated near the bottom. The lead does front-load the deprecation, but roughly half the text is duplicated rather than earning its place.

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 one-parameter read with no output schema, the description supplies endpoint, auth scope, version header, deprecation status, and what is returned (agency subscription plans). An agent has enough to decide and call correctly; only the replacement tool name is missing.

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?

Single parameter with 100% schema description coverage ('Company ID to get agency plans for'), so the schema already carries the semantics. The description only restates 'for a given company ID' without adding format, source, or lookup guidance, which is the baseline case.

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?

States a concrete verb and resource — 'Fetch all agency subscription plans for a given company ID' — plus the underlying endpoint GET /saas-api/public-api/agency-plans/{companyId}. It distinguishes itself from the non-deprecated sibling only by pointing to a replacement HTTP path rather than the sibling tool name (ghl_saas_get_agency_plans is present in the sibling list).

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?

Explicitly sets the usage condition (agency/Company-level token required) and an exclusion ('LEGACY FALLBACK... prefer a current equivalent', 'Expect removal'). The one gap is that the recommended alternative is given as an endpoint path, not a callable tool name, so the agent must infer which sibling to switch to.

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