Skip to main content
Glama
HyperRouteAI

hyperroute-mcp

Official
by HyperRouteAI

update_my_tool

Update an existing tool's metadata (name, stance, triggers, description, capabilities) in place, preserving its ID and outcome history to avoid duplicate tool entries.

Instructions

Edit one declared tool in place — rename it, rewrite when it should fire, or flip its stance. Only the fields you pass are changed.

triggers REPLACES the whole trigger list, so send every sentence the tool should keep, not just the new one. This is how a user adds a condition ("actually, only for work files") or corrects a trigger you recorded wrong. A tool must keep at least one.

Use this rather than re-declaring: the tool keeps its id and therefore its accumulated outcome record, whereas declaring again under a new name creates a SECOND tool and orphans the first.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo
stanceNo
tool_idYes
triggersNo
descriptionNo
capabilitiesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.3.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the burden. It discloses important behaviors: only passed fields are changed, triggers REPLACES the entire list, and a tool must keep at least one trigger. It does not mention error handling or authentication, but the key mutating behaviors are transparent.

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 three concise sentences, front-loaded with the primary action and followed by the critical trigger replacement caveat and the use-case distinction. No unnecessary words.

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?

The description covers the core update behavior and the most important nuance (trigger replacement). It lacks explicit mention of output or error cases, but for a straightforward update tool, it provides enough context to use it correctly.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It indirectly explains name, triggers, and stance, but 'description' and 'capabilities' are not addressed at all. The replacement semantics for triggers is clarified, but other parameters lack sufficient explanation.

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 the tool's purpose: editing an existing tool in place, with specific examples like renaming, changing triggers, or flipping stance. It also distinguishes this tool from re-declaring by preserving the tool's id and outcome record.

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?

It explicitly says 'Use this rather than re-declaring' and explains the consequence of re-declaring (creating a second tool and orphaning the first), giving clear guidance on when to use this tool versus the alternative.

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