Skip to main content
Glama

te_get_tag

Fetches tag details, including its rule definition, using project and tag IDs to inspect tag configuration in ThinkingEngine.

Instructions

Get tag details including its rule definition

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>",
      "tagId": "<tagId>"
    },
    "name": "te_get_tag"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNoTE system host (e.g. ta.thinkingdata.cn). Defaults to TE_HOST env var.
tagIdYesTag ID
projectIdYesProject ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a read via 'Get' but says nothing about permissions, behavior when the tag or project does not exist, or what the returned detail set contains beyond the rule definition.

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?

A single short sentence with no wasted wording, and the key qualifier ('rule definition') is placed immediately. It is efficient but so terse that it borders on under-specification rather than optimal conciseness.

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?

For a simple three-parameter read tool with full schema coverage and no output schema, the description is adequate but thin. It should say at least what 'tag details' includes and how the tag is identified, since there is no output schema to describe the return value.

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%, with all three parameters (host, tagId, projectId) documented inline, so baseline 3 applies. The description adds no parameter-level meaning such as ID format or host fallback behavior beyond what the schema already states.

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 (get) and resource (tag) and adds scope ('including its rule definition'), which distinguishes it from a bulk list operation. It does not explicitly name a sibling such as te_list_tags, so differentiation is only implicit.

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?

No when-to-use guidance, no prerequisites, and no routing to alternatives. The agent must infer that this is the single-tag lookup and that te_list_tags is the enumeration path.

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