Skip to main content
Glama

Скрыть шаблон аккаунта

set_template_hidden
Destructive

Скрывает шаблон аккаунта из галереи шаблонов при создании опроса или возвращает его туда — переключатель «Скрыть» в разделе шаблонов кабинета. Шаблон не удаляется и остаётся в папке шаблонов. Скрытые шаблоны попадают в get_workspace_templates только с include_hidden: true. Нужно право template в пространстве шаблона, как в кабинете.

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": {
      "quiz_id": "<quiz_id>",
      "hidden": "<hidden>"
    },
    "name": "set_template_hidden"
  }
}

Input Schema

NameRequiredDescriptionDefault
hiddenYestrue — скрыть, false — показать.
quiz_idYesID шаблона — quiz_id из get_workspace_templates (скрытые — с include_hidden: true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: the template is not deleted, it stays in the templates folder, hidden items are still returned by get_workspace_templates with include_hidden: true, and the calling user needs the template permission in the template's workspace. That is the kind of side-effect and auth information the hints alone cannot give.

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?

Four short sentences with no filler; the action and toggle are front-loaded, followed by the non-destructive guarantee, the retrieval consequence, and the permission requirement. Dense but still readable.

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 two-parameter toggle with no output schema, the description covers what changes, what is not destroyed, how to find hidden items afterwards, and the required permission. It leaves unstated what happens when the template is already in the requested state or what an error response looks like, which is the only remaining gap.

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%, so quiz_id and hidden are already documented, including the boolean polarity. The description reinforces the meaning by tying the boolean to the visible 'Hide' toggle and telling the agent where the quiz_id comes from, but adds no format or edge-case detail beyond the schema, so the baseline 3 applies.

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?

Names a concrete verb-plus-resource pair (hide/show an account template in the template gallery) and makes the bidirectional nature explicit through the 'Hide' toggle framing. It is immediately distinguishable from the sibling delete_quiz, archive_quiz, make_quiz_template and search_quiz_templates tools.

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?

It explains the operational context (the 'Hide' toggle in the account's templates section) and routes the agent to get_workspace_templates with include_hidden: true for discovering hidden items. It also implicitly rules out deletion as the goal. It does not, however, name an explicit alternative to use when the intent really is removal.

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