Skip to main content
Glama

DynamoDB MCP Server

by imankamyabi

create_lsi

Enables creation of a local secondary index during DynamoDB table setup, specifying keys, types, projection, and capacity units for efficient data querying.

Instructions

Creates a local secondary index on a table (must be done during table creation)

Input Schema

NameRequiredDescriptionDefault
indexNameYesName of the new index
nonKeyAttributesNoNon-key attributes to project (optional)
partitionKeyYesPartition key for the table
partitionKeyTypeYesType of partition key
projectionTypeYesType of projection
readCapacityNoProvisioned read capacity units (optional, default: 5)
sortKeyYesSort key for the index
sortKeyTypeYesType of sort key
tableNameYesName of the table
writeCapacityNoProvisioned write capacity units (optional, default: 5)

Input Schema (JSON Schema)

{ "properties": { "indexName": { "description": "Name of the new index", "type": "string" }, "nonKeyAttributes": { "description": "Non-key attributes to project (optional)", "items": { "type": "string" }, "type": "array" }, "partitionKey": { "description": "Partition key for the table", "type": "string" }, "partitionKeyType": { "description": "Type of partition key", "enum": [ "S", "N", "B" ], "type": "string" }, "projectionType": { "description": "Type of projection", "enum": [ "ALL", "KEYS_ONLY", "INCLUDE" ], "type": "string" }, "readCapacity": { "description": "Provisioned read capacity units (optional, default: 5)", "type": "number" }, "sortKey": { "description": "Sort key for the index", "type": "string" }, "sortKeyType": { "description": "Type of sort key", "enum": [ "S", "N", "B" ], "type": "string" }, "tableName": { "description": "Name of the table", "type": "string" }, "writeCapacity": { "description": "Provisioned write capacity units (optional, default: 5)", "type": "number" } }, "required": [ "tableName", "indexName", "partitionKey", "partitionKeyType", "sortKey", "sortKeyType", "projectionType" ], "type": "object" }

Other Tools from DynamoDB MCP Server

Related Tools

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/imankamyabi/dynamodb-mcp-server'

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