Skip to main content
Glama
awslabs

Threat Modeling MCP Server

Official
by awslabs

update_data_store

Update existing data stores, modifying details like name, type, classification, or encryption status. Supports single and batch operations.

Instructions

Update an existing data store in the architecture. Supports batch operations via the 'items' parameter.

This tool updates one or more existing data stores in the system architecture. For single item: provide id and fields to update directly. For batch: provide a list of data store dicts in the 'items' parameter (each must include 'id').

Args: ctx: MCP context for logging and error handling id: ID of the data store to update (required for single item mode) name: New name of the data store type: New type of the data store classification: New classification of the data encryption_at_rest: New encryption status backup_frequency: New frequency of backups description: New description of the data store items: Optional list of data store dicts for batch update

Returns: A confirmation message

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNoID of the data store to update (required for single item mode)
nameNoNew name of the data store
typeNoNew type of the data store
itemsNoOptional list of data stores to update in batch. Each dict must contain 'id' and any fields to update. When provided, individual parameters are ignored.
descriptionNoNew description of the data store
classificationNoNew classification of the data
backup_frequencyNoNew frequency of backups
encryption_at_restNoNew encryption status

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description must carry the full burden. It discloses the batch update behavior, the requirement for 'id' in batch items, and that a confirmation is returned. However, it does not clarify whether updates are partial or full replacement, how missing fields are handled, or any side effects on related architecture elements.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is organized and front-loaded with the purpose, but the first two sentences are redundant ('Update an existing data store' and 'This tool updates one or more existing data stores'). The Args list is necessary but lengthy, making it slightly less concise than it could be.

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?

For a CRUD tool with eight parameters and a provided output schema, the description covers the essential aspects: single/batch modes, parameter semantics, and the return type. It does not explain deletion or creation, but those are covered by sibling tools. Sufficient for an agent to effectively use the tool.

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

Parameters4/5

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

The schema covers 100% of parameters, and the description adds the crucial single/batch mode distinction, including that 'id' is required for single mode (which the schema's 'required' list misses). It also clarifies the structure of 'items' entries, adding value beyond the schema.

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?

States explicitly that it updates an existing data store, with the verb 'update' and resource 'data store'. Distinguishes from siblings like add_data_store, list_data_stores, and delete_data_store by emphasizing modification of existing entities. Also highlights batch support.

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

Usage Guidelines4/5

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

Provides clear instructions for when to use single vs. batch mode, including that 'items' overrides individual parameters. Does not explicitly mention when not to use (e.g., for creating new data stores, use add_data_store), but the sibling list makes that implicit.

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

Install Server

Other Tools

Latest Blog Posts

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/awslabs/threat-modeling-mcp-server'

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