Skip to main content
Glama

design_sharding_strategy

Design horizontal sharding strategy with shard key selection and routing logic

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>",
      "shardKey": "<shardKey>",
      "shardCount": "<shardCount>",
      "database": "<database>"
    },
    "name": "design_sharding_strategy"
  }
}

Input Schema

NameRequiredDescriptionDefault
tableYesTable to shard
databaseYesTarget database
shardKeyYesProposed shard key column
shardCountYesNumber of shards

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and largely fails it: it does not say whether this only produces a plan or modifies anything, whether it validates the proposed shard key, whether it requires an existing table definition, or what the resulting strategy contains. For a design-time tool with zero annotation coverage, that is a real gap.

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 no filler; the compound noun phrase is dense but readable. It is arguably under-specified rather than padded, but nothing is wasted.

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

Completeness2/5

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

With four required parameters, no annotations, and no output schema, the description should explain what the strategy artifact includes and how invalid inputs (e.g., a low-cardinality shardKey) are handled. It does neither, so an agent knows what the tool is for but not what it gets back or what constraints apply.

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% and each of the four required parameters (table, database, shardKey, shardCount) is documented in the schema, including the database enum, so the baseline of 3 applies. The description adds only the notion that shard key selection is a core concern, without format or constraint hints beyond the schema.

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 ('Design') and resource ('horizontal sharding strategy') and names the sub-outputs (shard key selection, routing logic). It does not distinguish itself from the closely related sibling design_partition_strategy, leaving the agent to infer the boundary.

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?

Usage is only implied by the phrase 'horizontal sharding strategy' – an agent can infer this is for scale-out table sharding. There is no explicit when-to-use, no prerequisite checks (e.g., existing schema, current indexes), and no mention of when to prefer design_partition_strategy or denormalize_for_performance instead.

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.