Skip to main content
Glama

Perceive8

analyze_text

Analyze a block of text synchronously.

    Creates a single-segment analysis, runs the text pipeline, and returns
    the analysis. Useful for analyzing short transcripts or chat logs
    without uploading a file.

    Args:
        text: The text to analyze.
        language: Language code (default 'en').
        speaker: Speaker label for the single segment (default 'Person').
    

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

Input Schema

NameRequiredDescriptionDefault
textYes
speakerNoPerson
languageNoen

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it discloses that execution is synchronous and that an analysis record is created and returned. It does not cover size limits (only implied by 'short'), authentication, error behavior, or whether the created analysis is persisted/retrievable via get_analysis.

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 lead sentence states the action and mode of execution up front, followed by what happens and when to use it. The 'Args' block largely restates the JSON schema titles and defaults, which is mild redundancy but not harmful.

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?

For a simple three-parameter tool with an output schema, the description covers action, synchronous behavior, return, and intended input size. The main omissions are size limits and permission expectations, which are minor given the tool's simplicity.

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 compensate, and it does partially: it identifies 'language' as a language code defaulting to 'en' and 'speaker' as the label for the single segment defaulting to 'Person'. However, it adds little about accepted formats or valid speaker labels beyond the schema's own titles and defaults.

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 names a specific verb and resource ('Analyze a block of text synchronously') and clarifies it creates a single-segment analysis rather than an upload-based job. This distinguishes it from the upload/status siblings without naming one explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines4/5

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

'Useful for analyzing short transcripts or chat logs without uploading a file' gives a concrete condition for choosing this tool over the file-upload flow. It lacks an explicit when-not or a named alternative, but the usage context is unambiguous.

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