Skip to main content
Glama

execute_pica_action

Execute actions on third-party platforms like Gmail, HubSpot, or Asana by specifying the platform, action, and connection key. Requires confirmation of intent and parameters for secure and accurate execution.

Instructions

Execute a Pica action to perform actual operations on third-party platforms. CRITICAL: Only call this when the user's intent is to EXECUTE an action (e.g., 'read my last Gmail email', 'fetch 5 contacts from HubSpot', 'create a task in Asana'). DO NOT call this when the user wants to BUILD or CREATE code/forms/applications - in those cases, stop after get_pica_action_knowledge and provide implementation guidance instead. REQUIRED WORKFLOW: Must call get_pica_action_knowledge first. If uncertain about execution intent or parameters, ask for confirmation before proceeding.

Input Schema

NameRequiredDescriptionDefault
actionYesAction object with ID, path, and method
connectionKeyYesKey of the connection to use
dataNoRequest data (for POST, PUT, etc.)
headersNoAdditional headers
isFormDataNoWhether to send data as multipart/form-data
isFormUrlEncodedNoWhether to send data as application/x-www-form-urlencoded
pathVariablesNoVariables to replace in the path
platformYesPlatform name
queryParamsNoQuery parameters

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "action": { "additionalProperties": false, "description": "Action object with ID, path, and method", "properties": { "_id": { "description": "Action ID", "type": "string" }, "method": { "description": "HTTP method (GET, POST, PUT, DELETE, etc.)", "type": "string" }, "path": { "description": "Action path template with variables", "type": "string" } }, "required": [ "_id", "path", "method" ], "type": "object" }, "connectionKey": { "description": "Key of the connection to use", "type": "string" }, "data": { "description": "Request data (for POST, PUT, etc.)" }, "headers": { "additionalProperties": { "type": "string" }, "description": "Additional headers", "type": "object" }, "isFormData": { "description": "Whether to send data as multipart/form-data", "type": "boolean" }, "isFormUrlEncoded": { "description": "Whether to send data as application/x-www-form-urlencoded", "type": "boolean" }, "pathVariables": { "additionalProperties": { "type": [ "string", "number", "boolean" ] }, "description": "Variables to replace in the path", "type": "object" }, "platform": { "description": "Platform name", "type": "string" }, "queryParams": { "additionalProperties": {}, "description": "Query parameters", "type": "object" } }, "required": [ "platform", "action", "connectionKey" ], "type": "object" }
Install Server

Other Tools from pica

Related Tools

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/picahq/mcp'

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