MCPcopy Create free account

hub / github.com/awslabs/mcp / functions

Functions35,417 in github.com/awslabs/mcp

Methodtest_resource_operation_passes_convert_result
CRITICAL: Resource messages must also survive convert_result.
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:182
Methodtest_resource_operation_result_valid
Test ResourceOperationResult with valid data.
src/ccapi-mcp-server/tests/test_models.py:172
Methodtest_resource_operation_result_with_error
Test ResourceOperationResult with error.
src/ccapi-mcp-server/tests/test_models.py:185
Methodtest_resource_operation_returns_embedded_resource
Resource operations must use EmbeddedResource, not dict.
src/openapi-mcp-server/tests/prompts/test_prompt_message_format.py:139
Methodtest_resource_operations_network_errors
Test resource operations network errors - covers lines 548-550, 567-569.
src/healthlake-mcp-server/tests/test_fhir_error_scenarios.py:46
Methodtest_resource_policy_edge_cases
Test resource policy management edge cases.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:353
Methodtest_resource_policy_with_complex_policy_document
Test resource policy management with complex IAM policy document.
src/aws-dataprocessing-mcp-server/tests/handlers/glue/test_glue_commons_handler.py:205
Methodtest_resource_read_invalid_uri
Test resource read with invalid URI - covers lines 570-574.
src/healthlake-mcp-server/tests/test_server_error_handling.py:17
Methodtest_resource_registration
Test that resources are registered correctly.
src/aws-serverless-mcp-server/tests/test_server.py:38
Methodtest_resource_string_is_normalized_to_list
A pre-existing policy with Resource: '<arn>' (not a list) is upgraded in place.
src/mysql-mcp-server/tests/test_cp_api_iam_policy.py:562
Methodtest_resource_type_filter_normalized_to_idle_casing
Passed ResourceType and Finding values are normalized to the idle enum spelling.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:730
Functiontest_resource_utils_uses_user_agent_config
Test that resource utils functions use the USER_AGENT_CONFIG.
src/well-architected-security-mcp-server/tests/test_user_agent_config.py:117
Functiontest_resources
Resources.
src/cloudwatch-applicationsignals-mcp-server/tests/test_rum_tools.py:597
Methodtest_response_creation
Test pagination response creation.
src/aws-healthomics-mcp-server/tests/test_pagination.py:94
Methodtest_response_includes_pull_through_fields
Test that response always includes pull_through fields.
src/aws-healthomics-mcp-server/tests/test_pull_through_cache_initiation.py:697
Methodtest_response_metadata_is_stripped
Botocore's transport metadata is not surfaced to the agent.
src/billing-cost-management-mcp-server/tests/tools/test_enterprise_support_operations.py:250
Methodtest_response_preserves_legacy_top_level_fields
Every legacy top-level field is present with unchanged name, type, and value.
src/aws-healthomics-mcp-server/tests/test_run_batch.py:1805
Methodtest_response_pull_through_cache
Test ContainerAvailabilityResponse for pull-through cache repository.
src/aws-healthomics-mcp-server/tests/test_ecr_models.py:322
Methodtest_response_reports_evaluation_time
The response states the instant the statuses were evaluated against.
src/billing-cost-management-mcp-server/tests/tools/test_credits_operations.py:521
Methodtest_response_repository_not_exists
Test ContainerAvailabilityResponse when repository doesn't exist.
src/aws-healthomics-mcp-server/tests/test_ecr_models.py:309
Methodtest_response_structure_completeness
Test that the response has all expected fields.
src/cloudwatch-applicationsignals-mcp-server/tests/test_change_tools.py:833
Methodtest_response_structure_on_failure
Test that failure response has correct structure.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5537
Methodtest_response_structure_on_success
Test that successful response has correct structure.
src/aws-healthomics-mcp-server/tests/test_ecr_tools.py:5486
Methodtest_response_without_policy_field
Falls back to the input policy_document when response lacks 'policy'.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_resource_policy.py:77
Methodtest_restart_container_failure
Test _restart_container when restart fails.
src/dynamodb-mcp-server/tests/test_model_validation_utils.py:375
Methodtest_restart_is_detected
``RESTART`` — restarts the server process.
src/mysql-mcp-server/tests/test_mutable_sql_detector.py:1029
Methodtest_restart_needed_fold_leaves_other_shapes
Only string values in a well-formed condition are lowercased. Any other shape reaches AWS as given, so AWS still reports its own error.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:855
Methodtest_restart_needed_folded_on_multi_region_tool_call
Through the tool with regions, every region receives the lowercased criteria.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:808
Methodtest_restart_needed_values_folded_to_lowercase
The restartNeeded values are lowercased, since AWS matches only "true"/"false". Other criteria fields keep their case.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:776
Methodtest_restricted_actions_and_fields_are_not_exposed
(self)
src/aws-transform-mcp-server/tests/test_engagement.py:53
Methodtest_restricted_mode_with_config_name_returns_error
RESTRICTED mode with a configuration_name returns a validation error.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:478
Methodtest_restricted_or_none_mode_omits_networking_params
RESTRICTED or None mode omits networkingMode and configurationName from API call.
src/aws-healthomics-mcp-server/tests/test_configuration_tools_properties.py:600
Methodtest_result_at_the_group_limit_is_partial
The service drops groups past 1,000 with no token, so 1,000 groups may be cut.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:511
Methodtest_result_below_the_group_limit_is_complete
999 groups is under the limit, so every group was returned.
src/billing-cost-management-mcp-server/tests/tools/test_cost_optimization_hub_helpers.py:616
Functiontest_result_configuration_without_output_location_allowed
Test that ResultConfiguration without OutputLocation is allowed even without sensitive data access.
src/aws-dataprocessing-mcp-server/tests/handlers/athena/test_athena_query_handler.py:988
Methodtest_result_contains_all_required_fields
Property: Result contains all required fields. Feature: ecr-container-tools, Property: HealthOmics Usability Evaluation The result d
src/aws-healthomics-mcp-server/tests/test_ecr_utils.py:1056
Methodtest_result_contains_no_credential_material
No injected secret value appears anywhere in the returned mapping. The mocked identity injects a fake secret access key and session token. Ne
src/aws-healthomics-mcp-server/integration/harness_tests/test_entrypoint.py:139
Methodtest_result_destination_validation
Test ResultDestination validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:284
Methodtest_result_is_cached
The type lookup is performed only once per knowledge base.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:84
Methodtest_result_parsing_scenarios
Test various result parsing scenarios.
src/dynamodb-mcp-server/tests/db_analyzer/test_analyzer_utils.py:270
Methodtest_result_without_data_dict_is_returned_unchanged
A result with no data dict is passed through without adding a region.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_tools.py:3646
Methodtest_results_are_fetched_for_the_callers_statement_only
The result comes from the caller's sub-statement, not the batch or a wrapper.
src/redshift-mcp-server/tests/test_redshift.py:216
Methodtest_resume_queries_only_mapped_regions
An opaque token resumes only the regions represented in its state.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:2237
Methodtest_resume_rejects_token_region_outside_regions
A token naming a region absent from `regions` is rejected, not silently resumed.
src/billing-cost-management-mcp-server/tests/tools/test_compute_optimizer_automation_tools.py:2263
Methodtest_resuming_with_continuation_token_returns_next_page_not_same_page
The actual pagination defect. Resuming with the emitted token must return page 2, not page 1 again.
src/aws-healthomics-mcp-server/tests/test_genomics_search_continuation_token_bug.py:147
Methodtest_retraining_configuration_none_promotion_validation
Test RetrainingConfiguration with None promotion value.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1097
Methodtest_retraining_configuration_none_retraining_start_date_validation
Test RetrainingConfiguration with None retrainingStartDate value.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:1105
Methodtest_retraining_configuration_validation
Test RetrainingConfiguration validation.
src/aws-iot-sitewise-mcp-server/tests/models/test_computation_data_models.py:342
Methodtest_retries_as_managed_when_vector_rejected
Without a management client the vector shape is tried, then corrected.
src/bedrock-kb-retrieval-mcp-server/tests/test_managed_kb.py:179
Methodtest_retrieve_cloudwatch_metrics_placeholder
Test CloudWatch metrics retrieval (placeholder implementation).
src/amazon-translate-mcp-server/tests/test_language_operations.py:435
Methodtest_retrieve_k8s_aws_id
Test _retrieve_k8s_aws_id method.
src/eks-mcp-server/tests/test_k8s_client_cache.py:106
Methodtest_retry_after_header_extraction_error
Test retry-after header extraction with invalid value.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:915
Methodtest_retry_config_edge_cases
Test retry config edge cases.
src/amazon-translate-mcp-server/tests/test_missing_line_coverage.py:338
Methodtest_retry_config_edge_cases
Test RetryConfig with edge case values.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:203
Methodtest_retry_delay_calculation
Test retry delay calculation.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:293
Methodtest_retry_delay_with_jitter
Test retry delay calculation with jitter.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:780
Methodtest_retry_delay_without_jitter
Test retry delay calculation without jitter.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:792
Methodtest_retry_delegated_to_botocore
Verify botocore adaptive retry is configured via _create_unsigned_client.
src/aws-transform-mcp-server/tests/test_transform_api_client.py:252
Methodtest_retry_exhaustion
Test behavior when all retry attempts are exhausted.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:180
Methodtest_retry_handler_with_custom_exceptions
Test RetryHandler with custom retryable exceptions.
src/amazon-translate-mcp-server/tests/test_edge_cases_and_error_handling.py:215
Methodtest_retry_logic_max_retries_exceeded
Test retry logic when max retries are exceeded.
src/amazon-translate-mcp-server/tests/test_translation_service.py:387
Methodtest_retry_logic_non_retryable_error
Test that non-retryable errors are not retried.
src/amazon-translate-mcp-server/tests/test_translation_service.py:407
Methodtest_retry_logic_real_execution
Test retry logic with real code execution.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:1519
Methodtest_retry_logic_success_after_failure
Test retry logic succeeds after initial failures.
src/amazon-translate-mcp-server/tests/test_translation_service.py:356
Methodtest_retry_on_429
(self, mock_sleep: AsyncMock)
src/aws-transform-mcp-server/tests/test_http_utils.py:153
Methodtest_retry_on_500
(self, mock_sleep: AsyncMock)
src/aws-transform-mcp-server/tests/test_http_utils.py:169
Methodtest_retry_on_retryable_error
Test retry behavior on retryable errors.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:157
Methodtest_retry_on_timeout
(self, mock_sleep: AsyncMock)
src/aws-transform-mcp-server/tests/test_http_utils.py:203
Methodtest_retry_on_transient_failure
First call raises, second succeeds → retried_chunks incremented.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:234
Methodtest_retry_operation_no_exception_recorded
Test retry operation when no exception is recorded.
src/amazon-translate-mcp-server/tests/test_translation_service_coverage.py:947
Functiontest_retry_policy_respects_budget_and_spacing
Property: Retry policy respects the attempt budget and spacing. For any sequence of transient-failure-then-outcome operations and any injected cl
src/aws-healthomics-mcp-server/integration/harness_tests/test_retry_property.py:114
Methodtest_retry_preserves_exception_details
Test that retry preserves original exception details.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:407
Methodtest_retry_same_request
These arrive with a 4xx status too, so they need an explicit mapping.
src/billing-cost-management-mcp-server/tests/utilities/test_error_contract.py:292
Methodtest_retry_with_backoff
Test that _retry_with_backoff handles retries correctly.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:1099
Methodtest_retry_with_backoff_max_retries_exceeded
Test _retry_with_backoff when max retries are exceeded.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:759
Methodtest_retry_with_backoff_non_retryable_error
Test _retry_with_backoff with non-retryable error.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:784
Methodtest_retry_with_backoff_success
Test that _retry_with_backoff succeeds after retries.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:992
Methodtest_retry_with_backoff_too_many_requests
Test _retry_with_backoff with TooManyRequestsException.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:831
Methodtest_retry_with_backoff_unexpected_error
Test _retry_with_backoff with unexpected error.
src/aws-support-mcp-server/tests/test_aws_support_mcp_server.py:809
Methodtest_retry_with_correlation_id
Test retry with correlation ID tracking.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:237
Methodtest_retry_with_server_specified_delay
Test retry respects server-specified retry_after.
src/amazon-translate-mcp-server/tests/test_retry_handler.py:389
Methodtest_retryable_client_error_exhausted
Retryable ClientError that exhausts all retries.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:740
Methodtest_retryable_statuses
(self, status: int)
src/aws-transform-mcp-server/tests/test_http_utils.py:118
Methodtest_return_fields_filter
(self)
src/valkey-mcp-server/tests/test_search_query.py:80
Methodtest_return_value_usage
Test that return values are properly used.
src/openapi-mcp-server/tests/test_coverage_boost.py:175
Methodtest_returns_a_copy
(self)
src/aws-transform-mcp-server/tests/test_configure.py:1002
Methodtest_returns_all_detail_fields
Response contains all expected fields with creationTime as ISO string. Validates: get run group returns complete details with ISO-formatted c
src/aws-healthomics-mcp-server/tests/test_run_group.py:297
Methodtest_returns_arn_id_and_tags_from_api
Response contains id, arn, and tags matching the HealthOmics API response. Validates: successful creation returns run group identifiers and t
src/aws-healthomics-mcp-server/tests/test_run_group.py:238
Methodtest_returns_assistant_response
( self, _cfg, _nudge, mock_fes, mock_poll_fes, mock_sleep, handler, ctx )
src/aws-transform-mcp-server/tests/test_job_status.py:318
Methodtest_returns_aws_region_env_var
Test returns AWS_REGION when set.
src/amazon-bedrock-agentcore-mcp-server/tests/code_interpreter/test_client.py:26
Methodtest_returns_cached
An existing cached connection is reused.
src/db2-mcp-server/tests/test_server.py:441
Methodtest_returns_cached_client
(self)
src/valkey-mcp-server/tests/test_connection.py:274
Methodtest_returns_cluster_properties
Should return cluster properties for a valid cluster.
src/mysql-mcp-server/tests/test_cp_api_simple_functions.py:31
Methodtest_returns_content
Guide returns a non-trivial string.
src/amazon-bedrock-agentcore-mcp-server/tests/runtime/test_unit_guide.py:27
Methodtest_returns_copy_not_mutated_original
Does not mutate the original dict.
src/amazon-bedrock-agentcore-mcp-server/tests/identity/test_unit_error_handler.py:100
Methodtest_returns_correct_url
(self)
src/aws-transform-mcp-server/tests/test_credential_auth.py:409
Methodtest_returns_data_unchanged_when_flag_enabled
With ALLOW_SENSITIVE_DATA=true the data is returned as is.
src/ecs-mcp-server/tests/unit/utils/test_security.py:548
Methodtest_returns_deserialized_record_for_existing_item
An existing item is returned as a dict of plain Python values.
src/aws-healthomics-mcp-server/tests/test_dynamodb_registry_source.py:75
Methodtest_returns_different_context_for_different_regions
Different regions should return different _RegionContext instances.
src/cloudwatch-mcp-server/tests/cloudwatch_logs/test_cwl_insights_batch.py:974
Methodtest_returns_each_period
Each period carries its dates, budgeted amount and actual amount.
src/billing-cost-management-mcp-server/tests/tools/test_budget_performance_history.py:89
← previousnext →29,701–29,800 of 35,417, ranked by callers