Skip to main content
Glama
zackscriven

ghl-mcp-server-v2

by zackscriven

ghl_object_get_schema_by_key

Read-onlyIdempotent

Retrieve the full schema of a custom or standard object by its key, including all fields and properties. Specify location ID to fetch.

Instructions

Get Object Schema by key / id Retrieve Object Schema by key or ID. This will return the schema of the custom object, including all its fields and properties. Supported objects include contact, opportunity, business and custom objects.To understand objects and records, please have a look the documentation here : https://doc.clickup.com/8631005/d/h/87cpx-277156/93bf0c2e23177b0 Endpoint: GET /objects/{key} (Version header: v3; source: v3/objects-v3.json) OAuth scopes: objects/schema.readonly

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keyYeskey of the custom or standard object. For custom objects, the key must include the prefix “custom_objects.”. This key can be found on the Object Details page under Settings in the UI.
locationIdYeslocation id of the sub account
fetchPropertiesNoFetch Properties , Fetches all the standard / custom fields of the object when set to true
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true. The description adds meaningful context: the returned data includes all fields and properties, supported objects, the endpoint URL, version header, source file, and OAuth scopes. No contradictions with annotations. Some details like error handling are omitted.

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 description includes useful information but is somewhat verbose, with URL, endpoint, version, source, and OAuth scopes. This content could be moved to metadata or annotations. The first sentence is clear but the long paragraph could be more concise.

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?

No output schema exists, so the description's statement that it returns 'the schema of the custom object, including all its fields and properties' provides sufficient completeness. It also lists supported object types. Lacks error handling or performance notes, but overall adequate for a read-only, idempotent schema retrieval.

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 the schema descriptions already document each parameter. The description mentions 'key or ID' but the input schema only has a 'key' parameter, causing slight confusion. It does not add significant meaning beyond the schema. Baseline 3 is appropriate.

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 description clearly states 'Get Object Schema by key / id' and elaborates that it retrieves the schema of a custom object including all fields and properties. It specifies supported objects (contact, opportunity, business, custom objects) and distinguishes itself from sibling tools like ghl_object_get_record_by_id which operate on records rather than schema.

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?

The description indicates this tool is for schema retrieval, not record manipulation. It lists supported object types and provides a documentation link. While it does not explicitly contrast with alternatives, the context of sibling tools (mostly unrelated) makes the tool's role clear. A more explicit when-to-use/not-use statement would improve clarity.

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