Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_saas_update_location_wallet_balance

Add or adjust complimentary wallet credits for a specific location. Supports partial updates via updateMask.

Instructions

REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only. Adds/adjusts complimentary wallet credits for the given location. Update Location Wallet Balance Update the wallet balance or complimentary credit settings for a specific location. Supports partial updates via updateMask field (AIP-134 compliant). Endpoint: POST /saas-api/public-api/companies/{companyId}/locations/{locationId}/wallet-balance/complimentary-credits (Version header: v3; source: v3/saas-v3.json) OAuth scopes: saas/company.write

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bodyYesRequest body (schema carried verbatim from the official OpenAPI spec).
companyIdYesCompany ID that owns the location
locationIdYesLocation ID to update wallet balance for
Behavior3/5

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

The description adds context beyond annotations: it clarifies the mutation operation ('adds/adjusts'), partial update support, and security requirement. However, it does not disclose side effects (e.g., impact on billing), rate limits, or behavior when updateMask is omitted. Annotations already indicate non-read-only and non-destructive, so the description adds moderate value.

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 description is concise (few sentences) and front-loads critical information (security requirement, purpose). It avoids verbose details and is well-structured for quick comprehension.

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?

The tool has no output schema, so the description should explain the return value; it does not. It includes endpoint, OAuth scopes, and security requirement, but omits expected response, error conditions, and behavior for full vs partial updates. Overall adequate but with notable gaps.

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 coverage is 100%, so the schema documents all parameters. The description mentions the updateMask field (not present in schema) which adds some semantic guidance but may cause confusion as it's not a parameter. The description does not elaborate on parameter meaning beyond what the schema provides.

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 clearly states the tool adds/adjusts complimentary wallet credits for a specific location, with a specific verb ('adds/adjusts') and resource (location wallet balance). It distinguishes from the getter sibling tool implicitly, but does not explicitly name alternatives.

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

Usage Guidelines3/5

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

The description includes a critical usage prerequisite (agency-level token) and mentions partial updates via updateMask. It does not explicitly state when to use this tool versus alternatives (like create vs update), but the context of siblings provides some guidance.

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

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