Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-ghl

by AIWerk

saas_api_generate_payment_link

Idempotent

Generate payment links for SaaS subscriptions directly in GoHighLevel. Create secure payment URLs for customers with agency-level tokens.

Instructions

Update SaaS subscription (requires an agency-level token, not a location PIT)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
companyIdYesCompany ID
customerIdYesCustomer ID
locationIdNoDefaults to GHL_LOCATION_ID when omitted.
subscriptionIdYesSubscription ID
Behavior2/5

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

The description does disclose the authentication requirement ('requires an agency-level token, not a location PIT'), which is a useful behavioral detail. However, the core action described is wrong (update vs. generate), making the overall behavioral disclosure misleading. It adds some value but is fundamentally inaccurate.

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 description is concise (one sentence), but brevity is not an asset when the content is inaccurate. It fails to be appropriately structured for the tool's actual function, and the token requirement is unrelated to the primary action.

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

Completeness1/5

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

For a payment-link generation tool, the description is completely inadequate. It says nothing about generating links, what the response contains, or any prerequisites beyond the token. The stated action is for a different operation, leaving the agent without any useful context for the real task.

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 input schema already describes all four parameters with 100% coverage, so the description adds no parameter information. Moreover, the description's mention of 'Update SaaS subscription' has no relation to the actual parameters (subscriptionId, customerId, companyId, locationId), and it misleads about what the parameters are for.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose1/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states 'Update SaaS subscription' which directly contradicts the tool name 'saas_api_generate_payment_link'. This is misleading; an agent would think this tool updates subscriptions rather than generating payment links. The description fails to convey the actual purpose.

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

Usage Guidelines1/5

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

No guidance is given on when to use this tool versus alternatives. The only aside about token requirements is a credential note, not usage context. There is no mention of scenarios, exclusions, or comparison with related saas_api tools.

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/AIWerk/mcp-server-ghl'

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