Skip to main content
Glama

Rename a table

rename_table

Updates the name of a lead-list table using its table ID and a new name, so lead lists stay identifiable.

Instructions

Rename a table (a list of leads).

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": {
      "table_id": "<table_id>",
      "name": "<name>"
    },
    "name": "rename_table"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
table_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

C2.8/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the safety profile is covered by structured data. The description adds nothing beyond repeating the title plus a definition of "table" — no mention of side effects on dependent sequences, name-collision behavior, or error conditions for a mutation call.

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?

A single front-loaded sentence with zero filler; the parenthetical is the only added information. It is efficient, though the brevity shades into under-specification rather than purposeful compression.

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

Completeness3/5

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

This is a simple two-parameter mutation with annotation coverage and no output schema, so the bar is low and the description is minimally viable. Still, an agent would want to know what happens if the new name already exists or whether dependent resources are affected.

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% for both parameters, so the description must compensate and does not: it never says that table_id identifies the target table or that name is the new label. The schema's 1–120 length constraint on name also goes unmentioned.

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?

"Rename a table" is a specific verb+resource, and the parenthetical "(a list of leads)" disambiguates the domain object. It does not explicitly contrast with rename_workspace or explain what happens to existing references, but the operation itself is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus siblings such as rename_workspace or create_table, and no preconditions (permissions, whether the table must be empty, whether names must be unique). The agent must infer usage entirely from the name.

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