Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

dialogflow_cx_detect_intent

Read-only

Send a test message to a Dialogflow CX agent and retrieve replies, matched intent, page, and parameters; reuse the session ID to continue the conversation.

Instructions

Send a test message to a Dialogflow CX agent and get its replies, matched intent, page and parameters. Reuse sessionId to continue.

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": {
      "agentName": "<agentName>",
      "text": "<text>"
    },
    "name": "dialogflow_cx_detect_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
agentNameYes
sessionIdNo
languageCodeNoen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered; the description adds real context by naming what the call returns and how session continuity works across calls. It does not mention auth requirements, latency, or that an omitted sessionId starts a fresh session, which keeps it below a 5.

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

Conciseness5/5

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

Two short sentences, front-loaded with the action and the return payload, then the session-reuse rule. No redundant phrasing or filler.

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

Completeness3/5

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

With no output schema, the description usefully enumerates the return fields, which is the right compensation. But for a tool whose required agentName is a resource identifier and whose languageCode has a default, omitting both leaves an agent guessing at invocation details.

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 description coverage is 0%, so the description must carry parameter meaning; it gives genuine semantics for sessionId ('reuse to continue') and implies text, which is the two most consequential parameters. It says nothing about the format of agentName (e.g. the full resource path) or the role and default of languageCode, so half the parameters remain undocumented.

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

Purpose4/5

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

States a specific verb and resource ('Send a test message to a Dialogflow CX agent') and enumerates the response contents (replies, matched intent, page, parameters), which separates it from a generic intent-listing tool. The 'CX' qualifier implicitly distinguishes it from the non-CX sibling dialogflow_detect_intent, but that alternative is never named explicitly.

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?

'Send a test message' and 'Reuse sessionId to continue' imply the conversational-testing use case and the multi-turn pattern. However, there is no explicit statement of when to prefer this over dialogflow_detect_intent or the listing siblings, and no note on what happens when sessionId is omitted.

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