Skip to main content
Glama

set_assistant_tools

Idempotent

Replace all attached HTTP tools with existing tools owned by this workspace. Empty tool_ids detaches every tool.

Input Schema

NameRequiredDescriptionDefault
idYesResource identifier returned by a previous request.
dataYesAttachment set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the mutation/idempotency profile is already known. The description adds genuinely non-obvious behavior: this is a full replacement, not a merge, and an empty list removes all attachments — a real data-loss path an agent must know before calling. The 'owned by this workspace' constraint on tool_ids is also behavior, not schema. Minor tension with destructiveHint=false in that clearing the list removes existing attachments, but the operation is reversible and idempotent, so this is not a contradiction.

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

Conciseness5/5

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

Two short sentences with zero filler. The replace-all semantics lead and the detach edge case follows, so the most consequential fact is front-loaded.

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 2-parameter setter with no output schema and available annotations, the description covers the essential risk (full replacement, empty detaches) plus the workspace-ownership precondition. It could say more about what happens to tool_ids that are not workspace-owned (error vs. ignored), which is the one remaining ambiguity.

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 coverage is 100% and the schema already documents tool_ids as a 'complete replacement list; an empty list removes every attachment.' The description's statement about empty tool_ids therefore restates the schema rather than adding new semantics, so baseline 3 applies.

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: replace the assistant's attached HTTP tools with workspace-owned tools. The 'HTTP tools owned by this workspace' scope is precise and separates it from knowledge attachment (set_assistant_knowledge), though it never names that sibling explicitly.

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?

Implies the use case (setting the full attachment set) and gives one clear edge-case rule: an empty tool_ids detaches everything. It gives no explicit when-not-to-use guidance or pointer to alternatives such as set_assistant_knowledge for knowledge attachments.

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