Skip to main content
Glama
Secil Canary Historian MCP Server

Secil Canary Historian MCP Server

by eins53740

get_tag_metadata

Retrieves detailed metadata for a specific Canary historian tag, including properties, data type, units, description, and configuration details to support tag inspection and validation.

Instructions

Get detailed metadata for a specific tag in Canary.

This tool retrieves comprehensive metadata for a tag including properties, data type, units, description, and configuration details.

Args: tag_path: Full path or name of the tag to retrieve metadata for

Returns: dict[str, Any]: Dictionary containing tag metadata with keys: - metadata: Dictionary of tag properties - success: Boolean indicating if operation succeeded - tag_path: The tag path that was queried

Raises: Exception: If authentication fails or API request errors occur

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": {
      "tag_path": "<tag_path>"
    },
    "name": "get_tag_metadata"
  }
}

Input Schema

NameRequiredDescriptionDefault
tag_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

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?

With no annotations, the description carries the full burden; it does disclose that authentication failures and API errors surface as exceptions and that results carry a 'success' boolean. It never states explicitly that this is a read-only, non-mutating operation, nor what permissions or scoping a tag path requires.

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

Conciseness3/5

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

Purpose is front-loaded in the first two sentences, but the Args/Returns/Raises block is boilerplate and the Returns section restates information the output schema already provides. The result is longer than needed for a one-parameter read tool.

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?

Covers purpose, the single parameter, and error behavior, which is adequate for a simple read. However, it omits how this differs from sibling metadata tools and says nothing about authentication requirements, leaving gaps a caller must discover by trial.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% with a single required parameter, and the description compensates by explaining tag_path accepts a full path or a name. That is genuine added meaning beyond the bare 'string' schema, though no format example or path syntax is given.

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 ('Get detailed metadata for a specific tag in Canary') and enumerates what the metadata covers (properties, data type, units, description, configuration). It does not differentiate itself from close siblings such as get_tag_properties or get_tag_data2, so an agent cannot tell from the text alone which of those to pick.

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?

Usage is only implied: you call this when you have a tag path and need its descriptive metadata. There is no explicit when-to-use or when-not-to-use guidance, and no mention of alternatives such as get_tag_properties or get_tag_path despite many metadata-adjacent siblings.

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