Skip to main content
Glama
smallest-inc

Smallest MCP Server

Official
by smallest-inc

remove_agent_tool

Remove a named tool from a single_prompt agent, supporting any tool type. For versioned agents, changes save as a draft; optionally stack onto an existing draft and publish to make live.

Instructions

Remove a tool (by name) from a single_prompt agent. Works for any tool type (api_call, transfer_call, etc.). For versioned agents the change is saved as a draft — pass draft_id to stack onto an existing draft, then publish_draft to make it live. Use get_agent_prompt to see the agent's current tool names.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agent_idYesThe agent ID to remove the tool from
nameYesThe exact name of the tool to remove
draft_idNoExisting draft to write into (stacks this change onto the draft's other edits). Omit to create a new draft from the live version.
Behavior4/5

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

No annotations are provided, so the description fully handles behavioral disclosure. It explains the draft mechanism, the ability to stack changes via draft_id, and that it works across all tool types. It lacks detail on immediate side effects (e.g., live call impact) but is sufficient.

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?

The description is two sentences, front-loaded with the core action, and every sentence adds value. No redundant or unnecessary information.

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?

Given 3 parameters and no output schema, the description covers the main action, draft workflow, and references a sibling for verification. It is complete for an agent to understand usage, though it omits return values (acceptable without output schema).

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 baseline is 3. The description does not add significant new meaning beyond what the schema already provides for each parameter (e.g., name, draft_id). It reinforces the draft stacking concept but does not introduce new semantics.

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?

The description clearly states 'Remove a tool (by name) from a single_prompt agent' with the verb 'remove' and resource 'tool from agent'. It specifies applicability to any tool type, distinguishing it from siblings like 'add_agent_tool' and 'get_agent_prompt'.

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?

The description explains the draft workflow for versioned agents and references 'get_agent_prompt' to verify current tools. It provides clear context but does not explicitly state when not to use this tool (e.g., for batch removals).

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/smallest-inc/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server