Skip to main content
Glama

design_partition_strategy

Design table partitioning strategy (range, list, hash) for large datasets

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": "<table>",
      "partitionKey": "<partitionKey>",
      "strategy": "<strategy>",
      "database": "<database>"
    },
    "name": "design_partition_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesTable to partition
databaseYesTarget database
strategyYesPartition type
partitionKeyYesColumn to partition on

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden and leaves key behavior ambiguous: it never says whether the tool only produces a recommendation/DDL plan or actually applies partitioning to the database named in the required `database` parameter. It also omits prerequisites (existing table, row counts, write-lock impact) and any note on what comes back.

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?

A single front-loaded clause with zero filler; the verb, resource, variants, and applicable scale are all packed into one sentence.

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?

The fully documented schema covers inputs, so the definition is callable, but the absence of annotations and of an output schema means the description should have clarified the nature of the result (plan vs. applied DDL) and safety. That single missing clarification keeps it at minimum-viable rather than complete.

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% with enums for `strategy` and `database`, so the schema already documents all four parameters. The parenthetical '(range, list, hash)' merely restates the strategy enum rather than adding selection criteria (e.g., when hash beats range).

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 ('Design table partitioning strategy') and explicitly enumerates the supported variants (range, list, hash). It does not distinguish itself from nearby siblings such as design_sharding_strategy or design_schema, so an agent must infer the boundary itself.

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?

The phrase 'for large datasets' implies a usage condition, but there is no explicit when-to-use or when-not guidance and no pointer to the sharding/schema alternatives a sibling list suggests exist. An agent can infer intent but not the routing rule.

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.