Skip to main content
Glama

Use a connected app

call_app_action
Destructive

Call one action of an app the person has connected in Fetch Hive (Slack, Gmail, Google Sheets, HubSpot, Notion and the rest), without building a workflow: read a sheet, find a contact, send a message, create a record. The person connects each app once in Fetch Hive and every assistant can use it. Find the action with search_actions, read its inputs with get_action_schema, and check the app is connected with list_connections (connect_app gives the person a link). Pass account_id when the app has more than one connected account. Each call uses one task. An action that only reads runs straight away. Before an action that sends or changes something, tell the person exactly what it will do; it then follows their approval rules: when the answer says it is waiting for approval, call list_approvals, show the person what will be sent or changed, and call decide_approval only with their answer. If the answer says needs_approval, ask the person and call again with approved: true. Actions that delete or remove things are never available. The answer usually carries the result (output); when it only has a run_id, call get_run until done is true. When the answer has a suggestion, pass it on to the person. For a job with several steps, or one that should repeat, build a workflow instead.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "action": "<action>"
    },
    "name": "call_app_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
appNoThe app's key from list_connections, e.g. "slack". Optional check that the action belongs to it.
nameNoA short name for the call in the logs.
actionYesThe action's slug from search_actions, e.g. "SLACK_SEND_MESSAGE".
approvedNotrue only after the person has agreed, when the answer asked for it (needs_approval).
argumentsNoThe action's inputs, as get_action_schema describes them.
account_idNoA connected account's id from list_connections, when the app has more than one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

The annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, but the description adds substantial behavior the agent could not otherwise know: each call consumes one task, read-only actions run immediately, write actions trigger an approval flow, a 'waiting for approval' answer requires list_approvals and decide_approval, a 'needs_approval' answer requires asking the person and retrying with approved=true, and delete/remove actions are never available. It also documents the polling fallback (get_run until done is true) and how to handle a returned suggestion, which goes well beyond the annotation set.

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 purpose and discovery chain are front-loaded in the first sentences, and nearly every sentence carries actionable instruction rather than filler. It is a dense single block, though, and the approval-handling sentences pile several branches together, so a reader must parse carefully; light structural separation would improve it without cutting content.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter, nested-argument, open-world mutation tool with no output schema and no destructive-safe annotations, the description covers what an agent needs: prerequisites, optional parameter conditions, approval branching, task cost, run_id polling, and result shape ('the answer usually carries the result (output)'). Nothing material is left unstated for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, and the description earns an increment by tying parameters to the workflow: action is the slug from search_actions, app is an optional ownership check, account_id is only needed with multiple connected accounts, and approved is only set after the person agrees when the answer said needs_approval. The nested arguments object is only described as 'as get_action_schema describes them', which delegates rather than adding detail, keeping this short of a 5.

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 uses a specific verb and resource ('call one action of a connected app') and immediately enumerates concrete instances (read a sheet, find a contact, send a message, create a record), so the agent knows exactly what will happen. It also explicitly contrasts with the sibling 'build' by saying multi-step or repeating jobs should use a workflow instead, which no other sibling offers.

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

Usage Guidelines5/5

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

It gives a complete discovery chain — search_actions to find the action, get_action_schema for inputs, list_connections/connect_app to check connection — and names the exclusion ('For a job with several steps, or one that should repeat, build a workflow instead'). The conditional 'Pass account_id when the app has more than one connected account' tells the agent precisely when to use an optional parameter rather than leaving it to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources