Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_saas_get_location_wallet_balance

Read-onlyIdempotent

Fetch a specific location's wallet balance using an agency-level company token, company ID, and location ID.

Instructions

REQUIRES AN AGENCY-LEVEL (Company) TOKEN — spec security is Agency-Access-Only. Get Location Wallet Balance Fetch the wallet balance for a specific location. Returns a resource object with balance details. Endpoint: GET /saas/companies/{companyId}/locations/{locationId}/wallet-balance (Version header: v3; source: v3/saas-api-v3.json) Requires an Agency (company-level) token. OAuth scopes: saas/company.read

Input Schema

NameRequiredDescriptionDefault
companyIdYesCompany ID that owns the location
locationIdYesLocation ID to get wallet balance for

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.1.0
    • addedInput schema / properties / companyId / example
      Added value: +"5DP4iH6HLkQsiKESj6rh"
    • addedInput schema / properties / locationId / example
      Added value: +"AUKAtFVo0lWezBsBQ3FE"
  2. First observedv2.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover readOnly/idempotent/non-destructive, but the description adds meaningful context: the agency-token security requirement, the OAuth scope, and that it returns a resource object with balance details. Auth preconditions are exactly the kind of context annotations don't supply.

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

Conciseness3/5

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

The token requirement is stated twice (the ALL-CAPS header and the later 'Requires an Agency (company-level) token') plus redundant metadata (version header, source file). Front-loaded and readable, but the repetition costs it.

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 two-param read tool with full schema coverage and no output schema, the definition covers auth requirements, the endpoint, and a rough return shape. Adequate and complete enough to invoke correctly.

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% and both companyId and locationId are documented in-schema, so the description needn't duplicate them. The endpoint template reinforces which param maps to which path segment but adds no new semantics; baseline 3.

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?

States a specific verb and resource ('Fetch the wallet balance for a specific location') with an explicit endpoint template. An agent can distinguish it from update_location_wallet_balance and list_location_wallet_transactions from the verb+scope alone.

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?

Conveys the key precondition (agency/company-level token, OAuth scope saas/company.read), but gives no explicit when-to-use vs siblings like list_location_wallet_transactions or update_location_wallet_balance. Usage is only implied by the name.

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