Skip to main content
Glama

get_message

Read-only

Retrieve a Google Chat message by resource name to inspect its sender, text, thread, and attachment names and types.

Instructions

One message with its sender, text, thread and attachments (name and type).

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": {
      "message": "<message>"
    },
    "name": "get_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesspaces/XXXX/messages/YYYY

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read operation. The description adds useful return-content context by listing sender, text, thread, and attachment name/type, but it does not describe error behavior, permissions, or response shape beyond field names.

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?

The definition is a single front-loaded sentence that states the resource and the returned fields without filler. Every element earns its place.

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?

With no output schema, the description usefully explains what the returned message includes. The single required parameter is fully documented in the schema, and the tool is simple enough that the remaining omission (not-found behavior) is minor.

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 100% and the sole parameter is documented with the expected path format (spaces/XXXX/messages/YYYY). The description adds no additional parameter meaning, so the baseline 3 is appropriate.

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?

The description clearly identifies the resource as a single message and names the fields it returns (sender, text, thread, attachments). It does not explicitly distinguish this from sibling tools such as read_messages or get_thread, so it falls short of a 5.

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

Usage Guidelines2/5

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

The phrase "One message" implies use for fetching a single message, but there is no explicit when-to-use guidance, no mention of alternatives like read_messages for listing, and no conditions or exclusions. This matches the calibration pattern for a tool that describes what it does without saying when to choose it.

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