Skip to main content
Glama
Google Workspace MCP connector

Google Workspace MCP connector

by animesh-ex

dialogflow_detect_intent

Read-only

Send a test message to a Dialogflow ES agent to retrieve its reply, matched intent, and confidence, and reuse the session ID to continue the conversation.

Instructions

Send a test message to a Dialogflow ES agent and get its reply, matched intent and confidence. Reuse sessionId to continue a conversation.

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": {
      "projectId": "<projectId>",
      "text": "<text>"
    },
    "name": "dialogflow_detect_intent"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
locationNoAgent region, e.g. 'global' (default), 'us-central1', 'europe-west1'
projectIdYesGoogle Cloud project ID that owns the Dialogflow agent
sessionIdNo
languageCodeNoen

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.7.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered; the description adds value by naming what comes back (reply, matched intent, confidence) and by disclosing that sessionId controls conversational state continuity. It does not mention auth/credential requirements or whether the call has side effects on the live agent, which would have pushed this to 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 sentences, zero filler, with the core action front-loaded and the session-continuation hint immediately after. Nothing is repeated from the schema or annotations.

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?

There is no output schema, and the description compensates by enumerating the response fields (reply, matched intent, confidence). With five parameters and open-world behavior, it is nearly complete; the remaining gap is the lack of any note about required GCP auth or that the referenced agent must already be provisioned.

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 only 40%, so the description needs to compensate; it does explain the most semantically important undocumented parameter (sessionId reuses conversational context). But 'text' and 'languageCode' get no elaboration, and location syntax is left entirely to the schema.

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 concrete verb and resource: send a test message to a Dialogflow ES agent, returning reply/intent/confidence. The 'ES' qualifier implicitly separates it from the sibling dialogflow_cx_detect_intent, though 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?

The word 'test' signals this is a probing/conversational tool rather than an intent-management one, and 'Reuse sessionId to continue a conversation' gives real usage context. However there is no explicit when-not guidance, no mention that intent CRUD should use the create/update/delete siblings, and no prerequisites (agent must already exist, credentials required).

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