MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_calculate_log_time_window_with_strings
Test calculate_log_time_window with string inputs.
src/aws-healthomics-mcp-server/tests/test_troubleshooting.py:650
Methodtest_calculate_match_score_edge_cases
Test edge cases for match score calculation.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:103
Methodtest_calculate_match_score_multiple_patterns
Test match score calculation with multiple patterns.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:89
Methodtest_calculate_match_score_single_pattern
Test match score calculation with single pattern.
src/aws-healthomics-mcp-server/tests/test_pattern_matcher.py:72
Methodtest_calculate_progress
Test progress calculation for different job statuses.
src/amazon-translate-mcp-server/tests/test_batch_manager.py:508
Methodtest_calculate_retry_delay
Test retry delay calculation.
src/amazon-translate-mcp-server/tests/test_translation_service.py:427
Functiontest_calculate_route
Test the calculate_route tool.
src/aws-location-mcp-server/tests/test_server.py:672
Functiontest_calculate_route_error
Test the calculate_route tool when an error occurs.
src/aws-location-mcp-server/tests/test_server.py:736
Functiontest_calculate_route_no_client
Test calculate_route when client is not initialized.
src/aws-location-mcp-server/tests/test_server.py:761
Functiontest_calculate_route_no_routes
Test calculate_route when no routes are found.
src/aws-location-mcp-server/tests/test_server.py:775
Functiontest_calculate_route_raw_mode
Test calculate_route with raw mode.
src/aws-location-mcp-server/tests/test_server.py:793
Functiontest_calculate_route_with_leg_geometry
Test calculate_route with leg geometry enabled.
src/aws-location-mcp-server/tests/test_server.py:961
Methodtest_calculate_savings_basic
Test basic savings calculation.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:124
Methodtest_calculate_savings_minimum_billing
Test savings calculation with minimum billing time.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:152
Methodtest_calculate_savings_no_savings
Test when recommended instance costs more.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:138
Methodtest_calculate_savings_pricing_unavailable
Test when pricing is unavailable.
src/aws-healthomics-mcp-server/tests/test_instance_recommender.py:168
Methodtest_calculate_score_basic
Test basic score calculation.
src/aws-healthomics-mcp-server/tests/test_scoring_engine.py:54
Methodtest_calculate_seasonal_strength_direct_zero_cycles
Test seasonal strength calculation directly with zero cycles condition.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:486
Methodtest_calculate_seasonal_strength_edge_case
Test seasonal strength with edge case that triggers n_cycles check.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_decomposer_trend.py:217
Methodtest_calculate_seasonal_strength_exactly_one_cycle
Test seasonal strength with exactly one seasonal cycle.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_decomposer_trend.py:238
Methodtest_calculate_seasonal_strength_insufficient_cycles
Test seasonal strength calculation when n_cycles is exactly 0.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:459
Methodtest_calculate_seasonal_strength_negative_period
Test seasonal strength with negative seasonal period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_decomposer_trend.py:228
Methodtest_calculate_seasonal_strength_single_value_large_period
Test seasonal strength calculation with single value and large period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:468
Methodtest_calculate_seasonal_strength_values_shorter_than_period
Test seasonal strength calculation when values array is shorter than seasonal period.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:477
Methodtest_calculate_seasonal_strength_zero_cycles
Test seasonal strength calculation with zero cycles.
src/cloudwatch-mcp-server/tests/cloudwatch_metrics/test_seasonal_detector.py:424
Methodtest_calculate_start_time
Test start time calculation for different ranges.
src/amazon-translate-mcp-server/tests/test_language_operations.py:384
Methodtest_calculate_storage_cost_dynamic
Test dynamic storage cost calculation.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:102
Methodtest_calculate_storage_cost_pricing_unavailable
Test that None is returned when pricing is unavailable.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:115
Methodtest_calculate_storage_cost_static
Test static storage cost calculation.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:89
Methodtest_calculate_supported_pairs
Test supported pairs calculation.
src/amazon-translate-mcp-server/tests/test_language_operations.py:408
Methodtest_calculate_task_cost_above_minimum
Test cost calculation when runtime exceeds minimum.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:62
Methodtest_calculate_task_cost_basic
Test basic task cost calculation.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:38
Methodtest_calculate_task_cost_minimum_billing
Test that minimum billing time of 60 seconds is applied.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:45
Methodtest_calculate_task_cost_pricing_unavailable
Test that None is returned when pricing is unavailable.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:70
Methodtest_calculate_task_cost_zero_runtime
Test that zero runtime uses minimum billing time.
src/aws-healthomics-mcp-server/tests/test_cost_analyzer.py:54
Methodtest_call_api_clienterror_returns_structured_dict
ClientError from boto3 should now return structured JSON, not re-raise.
src/security-agent-mcp-server/tests/test_server.py:694
Methodtest_call_api_invalid_operation
Rejects invalid operation names.
src/security-agent-mcp-server/tests/test_server.py:211
Methodtest_call_api_non_clienterror_still_raises
RuntimeError (non-ClientError) must still bubble up — only ClientError is caught.
src/security-agent-mcp-server/tests/test_server.py:719
Methodtest_call_api_success
Calls API successfully.
src/security-agent-mcp-server/tests/test_server.py:198
Methodtest_call_api_underlying_error
Underlying client error rethrows via ctx.error.
src/security-agent-mcp-server/tests/test_server.py:588
Functiontest_call_aws_awscli_customization_error
Test call_aws handles error response from AWS CLI customization command.
src/aws-api-mcp-server/tests/test_server.py:797
Functiontest_call_aws_awscli_customization_success
Test call_aws returns success response for AWS CLI customization command.
src/aws-api-mcp-server/tests/test_server.py:756
Functiontest_call_aws_both_validation_failures_and_constraints
Test call_aws returns error for both validation failures and failed constraints.
src/aws-api-mcp-server/tests/test_server.py:716
Functiontest_call_aws_delegates_to_helper
Test call_aws delegates to call_aws_helper with None credentials.
src/aws-api-mcp-server/tests/test_server.py:1122
Functiontest_call_aws_denied_when_index_unavailable
Fail closed: deny execution when the security policy index failed to initialize. Regression test for the policy fail-open advisory. When the read
src/aws-api-mcp-server/tests/test_security_policy.py:627
Functiontest_call_aws_ecs_deploy_error_sanitization
Test error sanitization.
src/aws-api-mcp-server/tests/test_server.py:1503
Functiontest_call_aws_eks_update_kubeconfig_validates_kubeconfig_path
Test that eks update-kubeconfig validates the kubeconfig path via the awscli_patch.
src/aws-api-mcp-server/tests/test_server.py:1539
Functiontest_call_aws_exceeds_max_batch_commands
Test call_aws with more than MAX_BATCH_COMMANDS.
src/aws-api-mcp-server/tests/test_server.py:1227
Functiontest_call_aws_execution_error_awsmcp_error
Test call_aws returns error details for AwsApiMcpError during execution.
src/aws-api-mcp-server/tests/test_server.py:510
Functiontest_call_aws_execution_error_generic_exception
Test call_aws returns error details for generic exception during execution.
src/aws-api-mcp-server/tests/test_server.py:554
Functiontest_call_aws_expand_regions_exception
Test call_aws when expand_regions_if_needed raises AwsRegionResolutionError.
src/aws-api-mcp-server/tests/test_server.py:1242
Functiontest_call_aws_failed_constraints
Test call_aws returns error for failed constraints.
src/aws-api-mcp-server/tests/test_server.py:680
Functiontest_call_aws_help_command_failure
Test call_aws raises error when help command fails.
src/aws-api-mcp-server/tests/test_server.py:1306
Functiontest_call_aws_help_command_success
Test call_aws returns success response for help command.
src/aws-api-mcp-server/tests/test_server.py:1285
Functiontest_call_aws_helper_passes_region_to_customization
Ensure region is forwarded to execute_awscli_customization when using customizations.
src/aws-api-mcp-server/tests/test_server.py:193
Functiontest_call_aws_helper_passes_region_to_interpret
Ensure region is forwarded to interpret_command for normal operations.
src/aws-api-mcp-server/tests/test_server.py:238
Functiontest_call_aws_helper_with_credentials
Test call_aws_helper passes credentials to interpret_command.
src/aws-api-mcp-server/tests/test_server.py:1050
Functiontest_call_aws_helper_without_credentials
Test call_aws_helper works without credentials.
src/aws-api-mcp-server/tests/test_server.py:1088
Functiontest_call_aws_mixed_valid_invalid_commands
Test call_aws with one valid and one invalid command.
src/aws-api-mcp-server/tests/test_server.py:1196
Functiontest_call_aws_no_credentials_error
Test call_aws returns error when no AWS credentials are found.
src/aws-api-mcp-server/tests/test_server.py:475
Functiontest_call_aws_non_aws_command
Test call_aws with command that doesn't start with 'aws'.
src/aws-api-mcp-server/tests/test_server.py:590
Functiontest_call_aws_response_serialization_with_error
Test CallAWSResponse serialization with error.
src/aws-api-mcp-server/tests/common/test_models.py:64
Functiontest_call_aws_response_serialization_with_response
Test CallAWSResponse serialization with response.
src/aws-api-mcp-server/tests/common/test_models.py:50
Functiontest_call_aws_response_validation_error
Test CallAWSResponse validation fails when neither response nor error provided.
src/aws-api-mcp-server/tests/common/test_models.py:44
Functiontest_call_aws_response_with_both
Test CallAWSResponse with both response and error.
src/aws-api-mcp-server/tests/common/test_models.py:32
Functiontest_call_aws_response_with_error
Test CallAWSResponse with error field.
src/aws-api-mcp-server/tests/common/test_models.py:23
Functiontest_call_aws_response_with_response
Test CallAWSResponse with response field.
src/aws-api-mcp-server/tests/common/test_models.py:10
Functiontest_call_aws_runs_multiple_commands
Test call_aws returns success for multiple commands.
src/aws-api-mcp-server/tests/test_server.py:1144
Functiontest_call_aws_security_policy_deny
Test call_aws when security policy denies the operation.
src/aws-api-mcp-server/tests/test_security_policy.py:540
Functiontest_call_aws_security_policy_elicit
Test call_aws when security policy requires elicitation.
src/aws-api-mcp-server/tests/test_security_policy.py:574
Functiontest_call_aws_success
Test call_aws returns success for a valid read-only command.
src/aws-api-mcp-server/tests/test_server.py:75
Functiontest_call_aws_validation_error_awsmcp_error
Test call_aws returns error details for AwsApiMcpError during validation.
src/aws-api-mcp-server/tests/test_server.py:439
Functiontest_call_aws_validation_error_generic_exception
Test call_aws returns error details for generic exception during validation.
src/aws-api-mcp-server/tests/test_server.py:458
Functiontest_call_aws_validation_failures
Test call_aws returns error for validation failures.
src/aws-api-mcp-server/tests/test_server.py:644
Functiontest_call_aws_wildcard_region_expansion
Test call_aws expands wildcard regions correctly.
src/aws-api-mcp-server/tests/test_server.py:1171
Functiontest_call_aws_with_consent_and_accept
Test call_aws with a mutating action the policy requires consent for (accepted).
src/aws-api-mcp-server/tests/test_server.py:294
Functiontest_call_aws_with_consent_and_reject
Test call_aws with a mutating action the policy requires consent for (rejected).
src/aws-api-mcp-server/tests/test_server.py:353
Functiontest_call_aws_without_consent
Test call_aws with a mutating action the policy allows without consent.
src/aws-api-mcp-server/tests/test_server.py:392
Methodtest_call_fes_raises_on_none_config
(self)
src/aws-transform-mcp-server/tests/test_pyright_fixes.py:37
Methodtest_call_generic
call() dispatches PascalCase op names to snake_case boto3 methods.
src/security-agent-mcp-server/tests/test_aws_client.py:120
Methodtest_call_invalid_operation
Operation names that don't match the regex raise ValueError.
src/security-agent-mcp-server/tests/test_aws_client.py:131
Methodtest_call_some_proc_is_detected
``CALL some_proc()`` — stored proc body can mutate.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:514
Methodtest_call_tcp_happy_path
call_tcp resolves creds, signs, and sends request.
src/aws-transform-mcp-server/tests/test_pyright_fixes.py:56
Methodtest_call_tcp_raises_on_none_config
(self)
src/aws-transform-mcp-server/tests/test_pyright_fixes.py:45
Methodtest_call_tool_exception
Test tool call failure is handled gracefully. Verifies that when the MCP client tool call fails, the function raises the exception.
src/aws-iac-mcp-server/tests/client/test_aws_knowledge_client.py:72
Functiontest_call_tool_formats_validation_errors
Test that call_tool intercepts ValidationError and reformats using format_validation_errors.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2224
Methodtest_call_tool_handler_client_error_resource_not_found
Test call_tool handler with ResourceNotFoundException.
src/healthlake-mcp-server/tests/test_server_mcp_handlers.py:129
Methodtest_call_tool_handler_client_error_validation
Test call_tool handler with ValidationException.
src/healthlake-mcp-server/tests/test_server_mcp_handlers.py:148
Methodtest_call_tool_handler_generic_exception
Test call_tool handler with generic exception.
src/healthlake-mcp-server/tests/test_server_mcp_handlers.py:188
Methodtest_call_tool_handler_no_credentials_error
Test call_tool handler with NoCredentialsError.
src/healthlake-mcp-server/tests/test_server_mcp_handlers.py:171
Methodtest_call_tool_handler_validation_error
Test call_tool handler with validation error.
src/healthlake-mcp-server/tests/test_server_mcp_handlers.py:109
Functiontest_call_tool_preserves_non_validation_errors
Test that call_tool does NOT reformat non-ValidationError ToolErrors.
src/dynamodb-mcp-server/tests/test_dynamodb_server.py:2260
Methodtest_call_unknown_operation_rejected
Operations not in the SDK are rejected.
src/security-agent-mcp-server/tests/test_aws_client.py:138
Methodtest_callback_missing_code
Callback without code parameter sets error.
src/aws-transform-mcp-server/tests/test_oauth.py:342
Methodtest_callback_state_mismatch
Callback with wrong state parameter sets error.
src/aws-transform-mcp-server/tests/test_oauth.py:363
Methodtest_callback_success
Successful callback sets auth_code on state.
src/aws-transform-mcp-server/tests/test_oauth.py:384
Methodtest_callback_with_error_param
Callback with error parameter sets state.error.
src/aws-transform-mcp-server/tests/test_oauth.py:321
Methodtest_caller_codes_only_apply_to_the_callers_token
A transient 500 on a later page keeps the retry token. The 500 only means a rejected token when it answers the caller's own next_token.
src/billing-cost-management-mcp-server/tests/utilities/test_pagination.py:607
Methodtest_caller_endpoint_string_is_never_used_for_connection
On successful match, the connection is built from the AWS-sourced host string.
src/postgres-mcp-server/tests/test_server_internal_functions.py:1421
Methodtest_caller_metadata_overrides_derived_envelope
Explicit kwargs to convert_response_if_needed take precedence over derived values.
src/billing-cost-management-mcp-server/tests/utilities/test_sql_utils.py:1175
← previousnext →12,601–12,700 of 35,417, ranked by callers