Skip to main content
Glama
AIWerk

@aiwerk/mcp-server-ghl

by AIWerk

agent_studio_execute_agent_deprecated

Execute a GoHighLevel agent by sending messages, associating contacts, and preserving conversation context with executionId. Deprecated; use the current tool for new integrations.

Instructions

Execute Agent (Deprecated)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNo
agentIdYes
messageYesMessage to send to the agent
contactIdNoContact ID to associate with this execution. When provided, contact data will be hydrated and made available to the agent.
versionIdNoPublished version ID to execute. If not provided, the latest published production version will be used.
locationIdNoLocation ID Defaults to GHL_LOCATION_ID when omitted.
attachmentsNoAttachments for the message
executionIdNoUnique session identifier that maintains conversational context across multiple interactions within the same agent session. Omit this field for the first message in a new session. Include the executionId returned from the previous response to maintain context in subsequent messages.
inputVariablesNoInput variables to pass to the agent. These should match the input variables defined in the agent configuration.
Behavior2/5

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

Annotations provide basic flags (readOnlyHint=false, destructiveHint=false, openWorldHint=true, idempotentHint=false), but the description adds no behavioral details such as side effects (e.g., sending messages, creating sessions) or expected execution semantics. The only extra info is 'Deprecated', which is a status hint rather than behavioral disclosure. No contradiction with annotations, but the description fails to supplement them.

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 extremely short—just three words—but this is under-specification rather than concise efficiency. It front-loads nothing useful and omits all operational detail. Every word is 'earned' in the sense that there are no extras, but the lack of substance makes it ineffective.

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?

This is a complex execution tool with 9 parameters, nested objects, and no output schema, yet the description offers no guidance on how to use it correctly. It fails to explain return behavior, how to sustain conversation context using executionId, what inputVariables should contain, or why one would choose this deprecated tool over its replacement. The description is wholly inadequate for an agent to invoke it reliably.

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?

Schema coverage is 78%, which is moderate, and the schema includes useful descriptions for key parameters like executionId, contactId, and versionId. However, the description itself adds zero parameter context, and does not help clarify any fields that lack schema descriptions (e.g., 'source' and 'attachments' are partially undocumented). With only 78% coverage, the description should compensate for the gaps but does not.

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

Purpose2/5

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

The description 'Execute Agent (Deprecated)' merely restates the tool name and adds no specific details about what executing an agent involves. It does not differentiate this deprecated tool from its non-deprecated sibling 'agent_studio_execute_agent', and 'Deprecated' alone provides no functional clarity.

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 description does not mention that a preferred non-deprecated version exists (agent_studio_execute_agent) or any conditions that should lead an agent to choose this tool. There is no mention of prerequisites, context, or when not to use it.

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