Skip to main content
Glama

ESG Hub MCP Server

Tag Content Facets

tag_content

Replace the facet tags on one existing ESG Hub page: topic, industry, framework, jurisdiction, stakeholder, and content_type. The supplied facets object replaces the page's facet set, so any facet key you omit is cleared; the page body and title are never changed or deleted. The response echoes the page's new facets and updated_at. The array facets (topic, industry, framework, jurisdiction, stakeholder) each accept multiple values, while content_type is a single string; values are validated against the vocabulary from get_esg_metadata / list_industries, and an unrecognised value or key is rejected with 400. Give page_id as a permalink, slug, or record ID — permalinks are resolved to the underlying record server-side. Use it to curate tags; to read a page use get_esg_page, and to queue a removal use flag_content. Requires ESG_HUB_WRITE_TOKEN; rate-limited.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
facetsYesFacet tags to apply to the page
page_idYesPage permalink, slug, or record ID (e.g., 'page:abc123')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
titleYes
facetsYes
page_idYes
updated_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the annotations: the replace-not-merge semantics ('any facet key you omit is cleared'), the guarantee that body/title are untouched, the echoed return fields, 400-on-invalid-value behavior, required ESG_HUB_WRITE_TOKEN, and rate limiting. This is exactly the mutation-behavior context annotations cannot carry.

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?

Front-loaded with the replace action and clearing semantics, and every sentence carries information. It is dense and slightly run-on, but nothing is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still frames the response briefly; combined with write-token, rate-limit, validation, and clearing behavior, an agent has everything needed to call it correctly.

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 100%, so types are already documented, but the description adds real semantics: which facets are multi-value arrays vs the single-string content_type, that values are validated against the get_esg_metadata/list_industries vocabulary, and that page_id accepts permalink/slug/record ID with server-side resolution.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb+resource+scope ('Replace the facet tags on one existing ESG Hub page') and enumerates the exact facet keys affected. An agent can immediately distinguish this from get_esg_page and flag_content.

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

Usage Guidelines5/5

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

Explicit routing: 'Use it to curate tags; to read a page use get_esg_page, and to queue a removal use flag_content.' It names both the read and removal alternatives and the condition selecting each.

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.